From 0b9ef0cce73be33e2c6e92a8fcabe1420ec684ef Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Mon, 12 Aug 2024 17:11:15 -0500 Subject: [PATCH] misc fixes --- check/src/project.rs | 12 ++++++------ replay/src/main.rs | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/check/src/project.rs b/check/src/project.rs index ee327ec..160bedd 100644 --- a/check/src/project.rs +++ b/check/src/project.rs @@ -57,9 +57,9 @@ pub fn build_dylib(cfg: BuildConfig) -> Result { let mut cmd = sys::new_command("cargo"); - if !cfg.stable { - cmd.arg("+nightly"); - } + // if !cfg.stable { + // cmd.arg("+nightly"); + // } cmd.arg("build"); cmd.arg("--lib"); @@ -208,9 +208,9 @@ pub fn extract_toolchain_channel(toolchain_file_path: &PathBuf) -> Result, cfg: BuildConfig) -> Result<[u8; 32]> { let mut keccak = Keccak::v256(); let mut cmd = Command::new("cargo"); - if !cfg.stable { - cmd.arg("+nightly"); - } + // if !cfg.stable { + // cmd.arg("+nightly"); + // } cmd.arg("--version"); let output = cmd .output() diff --git a/replay/src/main.rs b/replay/src/main.rs index e74b465..1efcea5 100644 --- a/replay/src/main.rs +++ b/replay/src/main.rs @@ -173,7 +173,7 @@ pub fn build_so(path: &Path, stable: bool) -> Result<()> { let mut cargo = sys::new_command("cargo"); if !stable { - cargo.arg("+nightly"); + // cargo.arg("+nightly"); } cargo .current_dir(path)