Skip to content

Commit fd5a313

Browse files
authored
Recommend --locked (#150)
* Recommend --locked * Also fix cross command
1 parent aeacac4 commit fd5a313

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/docs/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Download and install [`cmake`](https://cmake.org/download/). Make sure it's adde
6767

6868
You have multiple options, the two most interesting are:
6969

70-
- To install the latest release, run `cargo install probe-rs-tools`
70+
- To install the latest release, run `cargo install probe-rs-tools --locked`
7171
- To try the latest development version (a.k.a the `master` branch) with experimental and unreleased changes, run `cargo install probe-rs-tools --git https://github.com/probe-rs/probe-rs --locked`
7272

7373
See the [Cargo book](https://doc.rust-lang.org/cargo/commands/cargo-install.html) for details.

src/docs/library/crosscompiling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ image = "crossimage"
6262
docker build -t crossimage crossimage/
6363

6464
# Run cross to compile, cross arguments are the same as the `cargo` ones
65-
cross build --path probe-rs-tools --release --target=armv7-unknown-linux-gnueabihf
65+
cross build -p probe-rs-tools --release --target=armv7-unknown-linux-gnueabihf
6666

6767
# Done
6868
```

0 commit comments

Comments
 (0)