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

doc: Fix C2Rust installation procedure

The `--locked` is required since dependencies increased their MSRV to
something later than C2Rust's fixed nightly. That was already reflected
in the riotdocker installation steps, but not here where the line was
taken from upstream's docs.

Closes: https://github.com/RIOT-OS/RIOT/issues/17492
This commit is contained in:
chrysn 2022-01-12 08:56:13 +01:00
parent 2491bbaea3
commit acbbb405b0

View File

@ -125,7 +125,7 @@ $ rustup component add --toolchain nightly-2019-12-05 rustfmt rustc-dev
$ cargo +nightly-2019-12-05 install c2rust
$ git clone https://github.com/chrysn-pull-requests/c2rust -b for-riot
$ cd c2rust
$ cargo +nightly-2019-12-05 install --path c2rust
$ cargo +nightly-2019-12-05 install --locked --path c2rust
```
[cargo]: https://doc.rust-lang.org/cargo/