Skip to content

Commit 5fa2727

Browse files
Urgaucalebcartwright
authored andcommitted
Remove useless conditional compilation
1 parent 75786fb commit 5fa2727

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/test/mod.rs

-6
Original file line numberDiff line numberDiff line change
@@ -978,12 +978,6 @@ fn rustfmt() -> PathBuf {
978978
// Chop off `deps`.
979979
me.pop();
980980

981-
// If we run `cargo test --release`, we might only have a release build.
982-
if cfg!(release) {
983-
// `../release/`
984-
me.pop();
985-
me.push("release");
986-
}
987981
me.push("rustfmt");
988982
assert!(
989983
me.is_file() || me.with_extension("exe").is_file(),

0 commit comments

Comments
 (0)