Skip to content

Commit e401734

Browse files
committed
remove version
1 parent fa34d3b commit e401734

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

wasm-deploy/src/commands.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -406,19 +406,19 @@ pub async fn build(
406406
cargo_args: &[String],
407407
) -> anyhow::Result<()> {
408408
// Make sure the toolchain is installed
409-
Command::new("rustup")
410-
.arg("install")
411-
.arg("1.69.0")
412-
.spawn()?
413-
.wait_with_output()?;
414-
415-
Command::new("rustup")
416-
.arg("+1.69.0")
417-
.arg("target")
418-
.arg("add")
419-
.arg("wasm32-unknown-unknown")
420-
.spawn()?
421-
.wait_with_output()?;
409+
// Command::new("rustup")
410+
// .arg("install")
411+
// .arg("1.69.0")
412+
// .spawn()?
413+
// .wait_with_output()?;
414+
//
415+
// Command::new("rustup")
416+
// .arg("+1.69.0")
417+
// .arg("target")
418+
// .arg("add")
419+
// .arg("wasm32-unknown-unknown")
420+
// .spawn()?
421+
// .wait_with_output()?;
422422

423423
// TODO: this is a better method
424424
// let mut command = Command::new("cargo");
@@ -443,7 +443,7 @@ pub async fn build(
443443
for contract in contracts {
444444
Command::new("cargo")
445445
.env("RUSTFLAGS", "-C link-arg=-s")
446-
.env("RUSTUP_TOOLCHAIN", "1.69.0")
446+
// .env("RUSTUP_TOOLCHAIN", "1.69.0")
447447
.arg("build")
448448
.arg("--profile")
449449
.arg(settings.build_profile.as_str())

0 commit comments

Comments
 (0)