Skip to content

Commit

Permalink
Merge pull request RIOT-OS#20844 from chrysn-pull-requests/rust-c2rus…
Browse files Browse the repository at this point in the history
…t-install-temporary

doc: Point out common problem installing c2rust
  • Loading branch information
chrysn authored Aug 29, 2024
2 parents b469a52 + ae0c942 commit d469e6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/doxygen/src/using-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit d469e6d

Please sign in to comment.