We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75786fb commit 5fa2727Copy full SHA for 5fa2727
src/test/mod.rs
@@ -978,12 +978,6 @@ fn rustfmt() -> PathBuf {
978
// Chop off `deps`.
979
me.pop();
980
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
- }
987
me.push("rustfmt");
988
assert!(
989
me.is_file() || me.with_extension("exe").is_file(),
0 commit comments