Skip to content

Commit 8c24820

Browse files
committed
Update test
1 parent 283bafc commit 8c24820

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testsuite/freshness.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ fn changing_bin_features_caches_targets() {
493493
/* Targets should be cached from the first build */
494494

495495
let mut e = p.cargo("build");
496-
// MSVC/apple does not include hash in binary filename, so it gets recompiled.
497-
if cfg!(any(target_env = "msvc", target_vendor = "apple")) {
496+
// MSVC does not include hash in binary filename, so it gets recompiled.
497+
if cfg!(target_env = "msvc") {
498498
e.with_stderr("[COMPILING] foo[..]\n[FINISHED] dev[..]");
499499
} else {
500500
e.with_stderr("[FINISHED] dev[..]");
@@ -503,7 +503,7 @@ fn changing_bin_features_caches_targets() {
503503
p.rename_run("foo", "off2").with_stdout("feature off").run();
504504

505505
let mut e = p.cargo("build --features foo");
506-
if cfg!(any(target_env = "msvc", target_vendor = "apple")) {
506+
if cfg!(target_env = "msvc") {
507507
e.with_stderr("[COMPILING] foo[..]\n[FINISHED] dev[..]");
508508
} else {
509509
e.with_stderr("[FINISHED] dev[..]");

0 commit comments

Comments
 (0)