1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #20844 from chrysn-pull-requests/rust-c2rust-install-temporary

doc: Point out common problem installing c2rust
This commit is contained in:
chrysn 2024-08-29 13:58:50 +00:00 committed by GitHub
commit d469e6d978
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,6 +151,12 @@ as this is using some recent fixes, it is best installed as:
$ cargo install c2rust --git https://github.com/immunant/c2rust
```
If multiple versions of LLVM are installed locally, it may be necessary to prefix it with the selected LLVM version:
```
$ LLVM_CONFIG_PATH=/usr/bin/llvm-config-16 cargo install …
```
[cargo]: https://doc.rust-lang.org/cargo/
[**rustup**, installed as described on its website]: https://rustup.rs/