ok/jj
1
0
Fork 0
forked from mirrors/jj

readme: add --locked to cargo install step

Our installation instructions don't currently work with Rust < 1.64
because `clap` updated their MSRV to 1.64, and `cargo install` without
`--locked` bypasses `Cargo.lock` and selects the version of `clap`
that needs Rust 1.64.
This commit is contained in:
Martin von Zweigbergk 2023-01-27 18:21:23 -08:00 committed by Martin von Zweigbergk
parent 29eb7a16b8
commit 388fb0ffc1

View file

@ -164,7 +164,7 @@ sudo apt-get install libssl-dev openssl pkg-config
Now run:
```shell script
cargo install --git https://github.com/martinvonz/jj.git --bin jj jujutsu
cargo install --git https://github.com/martinvonz/jj.git --locked --bin jj jujutsu
```
@ -226,7 +226,7 @@ export PKG_CONFIG_PATH="$(brew --prefix)/opt/openssl@3/lib/pkgconfig"
Now run:
```shell script
cargo install --git https://github.com/martinvonz/jj.git --bin jj jujutsu
cargo install --git https://github.com/martinvonz/jj.git --locked --bin jj jujutsu
```
@ -234,7 +234,7 @@ cargo install --git https://github.com/martinvonz/jj.git --bin jj jujutsu
Run:
```shell script
cargo install --git https://github.com/martinvonz/jj.git --bin jj jujutsu --features vendored-openssl
cargo install --git https://github.com/martinvonz/jj.git --locked --bin jj jujutsu --features vendored-openssl
```