Skip to content

Commit

Permalink
Recommend --locked (#150)
Browse files Browse the repository at this point in the history
* Recommend --locked

* Also fix cross command
  • Loading branch information
bugadani authored Aug 15, 2024
1 parent aeacac4 commit fd5a313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Download and install [`cmake`](https://cmake.org/download/). Make sure it's adde

You have multiple options, the two most interesting are:

- To install the latest release, run `cargo install probe-rs-tools`
- To install the latest release, run `cargo install probe-rs-tools --locked`
- 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`

See the [Cargo book](https://doc.rust-lang.org/cargo/commands/cargo-install.html) for details.
Expand Down
2 changes: 1 addition & 1 deletion src/docs/library/crosscompiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ image = "crossimage"
docker build -t crossimage crossimage/

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

# Done
```
Expand Down

0 comments on commit fd5a313

Please sign in to comment.