You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,41 @@
2
2
3
3
This repository compile and publish as release final binaries of the Rust toolchain targetting RISC-V RV32E.
4
4
5
-
## Download
5
+
## Building
6
+
7
+
```sh
8
+
./clone.sh
9
+
./patch.sh
10
+
./build.sh
11
+
./package.sh
12
+
```
13
+
14
+
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
15
+
toolchain with rustup.
16
+
17
+
## Installation
18
+
19
+
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
20
+
`+rve-nightly` syntax.
6
21
7
22
```sh
8
-
# Download the latest release from the release page.
9
-
tar --zstd -xf rust-rve-nightly-2023-04-05-aarch64-apple-darwin.tar.zst
23
+
tar --zstd -xf rust-rve-nightly-$rust_commit_date-$TOOLCHAIN_HOST_TRIPLET.xz
10
24
mv rve-nightly ~/.rustup/toolchains/
25
+
# Clear the "downloaded" attribute recursively on macOS to satisfy GateKeeper
26
+
xattr -rc ~/.rustup/toolchains/rve-nightly
11
27
```
12
28
29
+
The last step is needed when downloading the binary toolchain with Safari. Otherwise GateKeeper will prevent running downloaded binaries without code signature:
If there is a need to build the toolchain using [Parity default CI environment](https://github.com/paritytech/scripts/tree/master/dockerfiles/ci-unified), tweak the build step as follows:
0 commit comments