This repository compiles and publishes as release final binaries of the Rust toolchain targeting RISC-V RV32E.
./clone.sh
./patch.sh
./build.sh
./package.sh
Executing those steps will create a rust-rve-nightly-$rust_commit_date-$TOOLCHAIN_HOST_TRIPLET.xz
in your working directory. See the next chapter about installation how to use this
toolchain with rustup.
You can either download a package from the release page or build it yourself with the instructions above. The following steps will make the toolchain available via rustup's
+rve-nightly
syntax.
tar --zstd -xf rust-rve-nightly-$rust_commit_date-$TOOLCHAIN_HOST_TRIPLET.xz
mv rve-nightly ~/.rustup/toolchains/
# Clear the "downloaded" attribute recursively on macOS to satisfy GateKeeper
xattr -rc ~/.rustup/toolchains/rve-nightly
The last step is needed when downloading the binary toolchain with Safari. Otherwise GateKeeper will prevent running downloaded binaries without code signature:
![326768663-26a8b06f-5074-485e-9677-12806b0454bd](https://private-user-images.githubusercontent.com/2580396/326853663-5fd140ae-526c-435c-8e6c-ba91a3ab27d3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODk4MzUsIm5iZiI6MTczOTU4OTUzNSwicGF0aCI6Ii8yNTgwMzk2LzMyNjg1MzY2My01ZmQxNDBhZS01MjZjLTQzNWMtOGU2Yy1iYTkxYTNhYjI3ZDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMDMxODU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWQ5MzEyNWI2MWQwZjk1ZDhjZTNkN2ZiYTk0ZGZmYjIzYjAyY2ZmMDQyOTEzYjgwOWUzZmZlYTM5YmI2M2JhMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.frrdqFqO4whMOjFpH0lAVvu8HHJc9TANl6lDEgws1Oc)