Skip to content

Commit 02c939e

Browse files
authored
cheri: remove tip in readme about the build-config line in the generated bootstrap.toml (#44)
1 parent e02e1f0 commit 02c939e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ git clone https://github.com/CHERIoT-Platform/cheri-rust.git &&\
4242

4343
The `./x` command will download a `rustc` to bootstrap Rust, compile LLVM and proceed to compile the compiler and the supported bits of the standard library.
4444

45-
> [!TIP]
46-
> For macOS users: if the one-liner above fails while compiling LLVM due to
47-
> unresolved imports from C++, you might want to try removing the
48-
> `build-config` line in the `[llvm]` section from the generated
49-
> `bootstrap.toml`.
50-
5145
If this process fails, please raise an issue so that we can try to fix the problems you encountered.
5246

5347
You can then use `rustup` to create a new toolchain with the name you prefer:
@@ -56,7 +50,7 @@ rustup toolchain link 'cheri' build/host/stage1
5650
```
5751
Notice that this process does not generate `cargo` and `rust-analyzer` as well. You'll have to build them with `./x`...
5852
```
59-
./x build tools/cargo tools/rust-analyzer --target=aarch64-apple-darwin,riscv32cheriot-unknown-cheriotrtos
53+
./x build tools/cargo tools/rust-analyzer
6054
```
6155
...and then link the results manually to your `$RUSTUP_HOME`:
6256
```

0 commit comments

Comments
 (0)