Skip to content

Commit 374cd8a

Browse files
committed
Use is_msvc instead of is_windows_msvc
1 parent 200f132 commit 374cd8a

File tree

1 file changed

+3
-3
lines changed
  • tests/run-make/reproducible-build-2

1 file changed

+3
-3
lines changed

tests/run-make/reproducible-build-2/rmake.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//@ ignore-windows-gnu
1212
// GNU Linker for Windows is non-deterministic.
1313

14-
use run_make_support::{bin_name, is_windows_msvc, rfs, rust_lib_name, rustc};
14+
use run_make_support::{bin_name, is_msvc, rfs, rust_lib_name, rustc};
1515

1616
fn main() {
1717
// test 1: fat lto
@@ -22,15 +22,15 @@ fn main() {
2222
.input("reproducible-build.rs")
2323
.arg("-Clto=fat")
2424
.output(bin_name("reproducible-build"));
25-
if is_windows_msvc() {
25+
if is_msvc() {
2626
// Avoids timestamps, etc. when linking.
2727
reproducible_build.arg("-Clink-arg=/Brepro");
2828
}
2929
reproducible_build.run();
3030
};
3131
make_reproducible_build();
3232
rfs::rename(bin_name("reproducible-build"), "reproducible-build-a");
33-
if is_windows_msvc() {
33+
if is_msvc() {
3434
// Linker acts differently if there is already a PDB file with the same
3535
// name.
3636
rfs::remove_file("reproducible-build.pdb");

0 commit comments

Comments
 (0)