Skip to content

Commit 39397c4

Browse files
committed
don't run cargo update
1 parent 217388e commit 39397c4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

crates/cargo-gpu/src/install.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -221,16 +221,6 @@ impl Install {
221221
self.spirv_install.shader_crate.display()
222222
);
223223

224-
// Run a `cargo update` just in case the cached Cargo.lock we copied over
225-
// is a bit behind what's in rust-gpu
226-
let mut update_command = std::process::Command::new("cargo");
227-
update_command.current_dir(&checkout).arg("update");
228-
let update_output = update_command
229-
.stdout(std::process::Stdio::inherit())
230-
.stderr(std::process::Stdio::inherit())
231-
.output()?;
232-
anyhow::ensure!(update_output.status.success(), "...cargo update error!");
233-
234224
let mut build_command = std::process::Command::new("cargo");
235225
build_command
236226
.current_dir(&checkout)

0 commit comments

Comments
 (0)