Remove rustfmt component check
This was more valuable when we used the latest nightly without specifying the toolchain version.
This commit is contained in:
parent
4a54933845
commit
21343ab2a5
1 changed files with 0 additions and 8 deletions
|
@ -10,14 +10,6 @@ fn fmt() {
|
|||
return;
|
||||
}
|
||||
|
||||
// Skip this test if nightly rustfmt is unavailable
|
||||
let rustup_output = Command::new("rustup").args(&["component", "list"]).output().unwrap();
|
||||
assert!(rustup_output.status.success());
|
||||
let component_output = String::from_utf8_lossy(&rustup_output.stdout);
|
||||
if !component_output.contains("rustfmt") {
|
||||
return;
|
||||
}
|
||||
|
||||
let root_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
let output = Command::new("cargo")
|
||||
.current_dir(root_dir)
|
||||
|
|
Loading…
Add table
Reference in a new issue