Skip to content

Commit

Permalink
Remove nightly toolchain check
Browse files Browse the repository at this point in the history
  • Loading branch information
ricohageman committed Apr 8, 2022
1 parent c281275 commit fe2f839
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions xtask/src/llvm_cov.rs
Expand Up @@ -88,13 +88,5 @@ fn get_coverage_env() -> Result<HashMap<String, String>> {
env.get("CARGO_LLVM_COV_TARGET_DIR").unwrap().to_owned(),
);

// Coverage only works on nightly.
let rustc_version =
String::from_utf8(get_output(Command::new("rustc").arg("--version"))?.stdout)
.context("failed to parse rust version as utf8")?;
if !rustc_version.contains("nightly") {
env.insert("RUSTUP_TOOLCHAIN".to_owned(), "nightly".to_owned());
}

Ok(env)
}

0 comments on commit fe2f839

Please sign in to comment.