Skip to content

Commit

Permalink
fixup! Josh preparations
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed May 2, 2024
1 parent f766802 commit 6aebdc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clippy_dev/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ fn start_josh() -> impl Drop {
}

fn rustc_hash(version: Option<String>) -> String {
process::Command::new("rustup")
.arg("show")
.arg("active-toolchain")
.status()
.expect("failed to run rustup");
let version = String::from_utf8(
process::Command::new("rustc")
.arg(format!("+{}", version.unwrap_or_default()))
Expand Down

0 comments on commit 6aebdc0

Please sign in to comment.