File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -406,19 +406,19 @@ pub async fn build(
406
406
cargo_args : & [ String ] ,
407
407
) -> anyhow:: Result < ( ) > {
408
408
// 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()?;
422
422
423
423
// TODO: this is a better method
424
424
// let mut command = Command::new("cargo");
@@ -443,7 +443,7 @@ pub async fn build(
443
443
for contract in contracts {
444
444
Command :: new ( "cargo" )
445
445
. env ( "RUSTFLAGS" , "-C link-arg=-s" )
446
- . env ( "RUSTUP_TOOLCHAIN" , "1.69.0" )
446
+ // .env("RUSTUP_TOOLCHAIN", "1.69.0")
447
447
. arg ( "build" )
448
448
. arg ( "--profile" )
449
449
. arg ( settings. build_profile . as_str ( ) )
You can’t perform that action at this time.
0 commit comments