From 1a912301f6cadf0ac4f45abcec2b8e86611a0a72 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Mon, 28 Apr 2025 14:36:20 +0200 Subject: [PATCH] fix: Add `--locked` to `cargo install` to support lower rust versions --- src/install/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/install/mod.rs b/src/install/mod.rs index bbc9a645..20e19d75 100644 --- a/src/install/mod.rs +++ b/src/install/mod.rs @@ -257,6 +257,7 @@ pub fn cargo_install( cmd.arg("install") .arg("--force") + .arg("--locked") .arg(crate_name) .arg("--root") .arg(&tmp);