Remove useless conditional compilation
This commit is contained in:
parent
75786fb0b7
commit
5fa2727dde
@ -978,12 +978,6 @@ fn rustfmt() -> PathBuf {
|
||||
// Chop off `deps`.
|
||||
me.pop();
|
||||
|
||||
// If we run `cargo test --release`, we might only have a release build.
|
||||
if cfg!(release) {
|
||||
// `../release/`
|
||||
me.pop();
|
||||
me.push("release");
|
||||
}
|
||||
me.push("rustfmt");
|
||||
assert!(
|
||||
me.is_file() || me.with_extension("exe").is_file(),
|
||||
|
Loading…
Reference in New Issue
Block a user