Skip to content

Commit

Permalink
misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Aug 12, 2024
1 parent be23da6 commit 0b9ef0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions check/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ pub fn build_dylib(cfg: BuildConfig) -> Result<PathBuf> {

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");
Expand Down Expand Up @@ -208,9 +208,9 @@ pub fn extract_toolchain_channel(toolchain_file_path: &PathBuf) -> Result<String
pub fn hash_files(source_file_patterns: Vec<String>, 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()
Expand Down
2 changes: 1 addition & 1 deletion replay/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0b9ef0c

Please sign in to comment.