From 63b7c465cdfa8bcabf7eaff80286a5e8d218394e Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Tue, 29 Apr 2025 08:53:40 +0800 Subject: [PATCH] README: Install tools with --locked Fixes: https://github.com/FrameworkComputer/inputmodule-rs/issues/133 See: https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile Signed-off-by: Daniel Schaefer --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad2a53bd..fcbfa32a 100644 --- a/README.md +++ b/README.md @@ -131,9 +131,9 @@ Prepare Rust toolchain (once): ```sh rustup target install thumbv6m-none-eabi -cargo install flip-link -cargo install cargo-make -cargo install elf2uf2-rs +cargo install flip-link --locked +cargo install cargo-make --locked +cargo install elf2uf2-rs --locked ``` Build: @@ -161,7 +161,7 @@ Tracking issue: https://github.com/rust-lang/cargo/issues/9406 ```sh # Install cargo-make to help build it -cargo install cargo-make +cargo install cargo-make --locked # Build it > cargo make --cwd inputmodule-control