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:
parent
29eb7a16b8
commit
388fb0ffc1
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue