Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/project-model/src/build_dependencies.rs')
-rw-r--r--crates/project-model/src/build_dependencies.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/project-model/src/build_dependencies.rs b/crates/project-model/src/build_dependencies.rs
index 352f41a826..c8a0e1b998 100644
--- a/crates/project-model/src/build_dependencies.rs
+++ b/crates/project-model/src/build_dependencies.rs
@@ -474,13 +474,19 @@ impl WorkspaceBuildScripts {
cmd.arg("--lockfile-path");
cmd.arg(lockfile_copy.path.as_str());
}
- LockfileUsage::WithEnvVar => {
+ LockfileUsage::WithEnvVarUnstable => {
cmd.arg("-Zlockfile-path");
cmd.env(
"CARGO_RESOLVER_LOCKFILE_PATH",
lockfile_copy.path.as_os_str(),
);
}
+ LockfileUsage::WithEnvVar => {
+ cmd.env(
+ "CARGO_RESOLVER_LOCKFILE_PATH",
+ lockfile_copy.path.as_os_str(),
+ );
+ }
}
}
}