diff options
| author | Urgau <urgau@numericable.fr> | 2022-06-08 18:15:22 +0200 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2022-06-09 22:24:27 -0500 |
| commit | 5fa2727ddeef534a7cd437f9e288c221a2cf0b6a (patch) | |
| tree | fb9da5ba52d492b1c215fcafd4bb89de4bb99f07 | |
| parent | 75786fb0b707a9a4938ee31b916762c1a3eae09d (diff) | |
| download | rust-5fa2727ddeef534a7cd437f9e288c221a2cf0b6a.tar.gz rust-5fa2727ddeef534a7cd437f9e288c221a2cf0b6a.zip | |
Remove useless conditional compilation
| -rw-r--r-- | src/test/mod.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/mod.rs b/src/test/mod.rs index 18ec8620fac..6b5bc2b30dd 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -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(), |
