Skip to content

Commit

Permalink
doc: Point out common problem installing c2rust
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Aug 29, 2024
1 parent b469a52 commit ae0c942
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 ae0c942

Please sign in to comment.