@@ -1509,7 +1509,6 @@ fn changing_rustflags_is_cached() {
1509
1509
. masquerade_as_nightly_cargo ( & [ "checksum-freshness" ] )
1510
1510
. env ( "RUSTFLAGS" , "-C linker=cc" )
1511
1511
. with_stderr_data ( str![ [ r#"
1512
- [DIRTY] foo v0.0.1 ([ROOT]/foo): the rustflags changed
1513
1512
[COMPILING] foo v0.0.1 ([ROOT]/foo)
1514
1513
[RUNNING] `rustc [..]
1515
1514
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1520,9 +1519,7 @@ fn changing_rustflags_is_cached() {
1520
1519
p. cargo ( "build -Zchecksum-freshness -v" )
1521
1520
. masquerade_as_nightly_cargo ( & [ "checksum-freshness" ] )
1522
1521
. with_stderr_data ( str![ [ r#"
1523
- [DIRTY] foo v0.0.1 ([ROOT]/foo): the rustflags changed
1524
- [COMPILING] foo v0.0.1 ([ROOT]/foo)
1525
- [RUNNING] `rustc [..] src/lib.rs [..]
1522
+ [FRESH] foo v0.0.1 ([ROOT]/foo)
1526
1523
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1527
1524
1528
1525
"# ] ] )
@@ -1531,9 +1528,7 @@ fn changing_rustflags_is_cached() {
1531
1528
. masquerade_as_nightly_cargo ( & [ "checksum-freshness" ] )
1532
1529
. env ( "RUSTFLAGS" , "-C linker=cc" )
1533
1530
. with_stderr_data ( str![ [ r#"
1534
- [DIRTY] foo v0.0.1 ([ROOT]/foo): the rustflags changed
1535
- [COMPILING] foo v0.0.1 ([ROOT]/foo)
1536
- [RUNNING] `rustc [..]
1531
+ [FRESH] foo v0.0.1 ([ROOT]/foo)
1537
1532
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1538
1533
1539
1534
"# ] ] )
@@ -1556,7 +1551,6 @@ fn changing_rustc_extra_flags_is_cached() {
1556
1551
p. cargo ( "rustc -Zchecksum-freshness -v -- -C linker=cc" )
1557
1552
. masquerade_as_nightly_cargo ( & [ "checksum-freshness" ] )
1558
1553
. with_stderr_data ( str![ [ r#"
1559
- [DIRTY] foo v0.0.1 ([ROOT]/foo): the profile configuration changed
1560
1554
[COMPILING] foo v0.0.1 ([ROOT]/foo)
1561
1555
[RUNNING] `rustc [..]
1562
1556
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -1567,19 +1561,15 @@ fn changing_rustc_extra_flags_is_cached() {
1567
1561
p. cargo ( "rustc -Zchecksum-freshness -v" )
1568
1562
. masquerade_as_nightly_cargo ( & [ "checksum-freshness" ] )
1569
1563
. with_stderr_data ( str![ [ r#"
1570
- [DIRTY] foo v0.0.1 ([ROOT]/foo): the profile configuration changed
1571
- [COMPILING] foo v0.0.1 ([ROOT]/foo)
1572
- [RUNNING] `rustc [..] src/lib.rs [..]
1564
+ [FRESH] foo v0.0.1 ([ROOT]/foo)
1573
1565
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1574
1566
1575
1567
"# ] ] )
1576
1568
. run ( ) ;
1577
1569
p. cargo ( "rustc -Zchecksum-freshness -v -- -C linker=cc" )
1578
1570
. masquerade_as_nightly_cargo ( & [ "checksum-freshness" ] )
1579
1571
. with_stderr_data ( str![ [ r#"
1580
- [DIRTY] foo v0.0.1 ([ROOT]/foo): the profile configuration changed
1581
- [COMPILING] foo v0.0.1 ([ROOT]/foo)
1582
- [RUNNING] `rustc [..]
1572
+ [FRESH] foo v0.0.1 ([ROOT]/foo)
1583
1573
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
1584
1574
1585
1575
"# ] ] )
0 commit comments