You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/testsuite/freshness.rs
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -552,12 +552,13 @@ feature on
552
552
// MSVC does not include hash in binary filename, so it gets recompiled.
553
553
ifcfg!(target_env = "msvc"){
554
554
e.with_stderr_data(str![[r#"
555
-
[DIRTY] foo v0.0.1 ([ROOT]/foo): the dependency foo was rebuilt ([DIRTY_REASON_NEW_TIME], [DIRTY_REASON_DIFF] after last build at [DIRTY_REASON_OLD_TIME])
555
+
[DIRTY] foo v0.0.1 ([ROOT]/foo): the list of features changed
556
556
[COMPILING] foo v0.0.1 ([ROOT]/foo)
557
557
[RUNNING] `rustc --crate-name [..]
558
558
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
559
559
560
-
"#]]).run();
560
+
"#]])
561
+
.run();
561
562
}else{
562
563
e.with_stderr_data(str![[r#"
563
564
[FRESH] foo v0.0.1 ([ROOT]/foo)
@@ -576,12 +577,13 @@ feature off
576
577
letmut e = p.cargo("build --features foo -v");
577
578
ifcfg!(target_env = "msvc"){
578
579
e.with_stderr_data(str![[r#"
579
-
[DIRTY] foo v0.0.1 ([ROOT]/foo): the dependency foo was rebuilt ([DIRTY_REASON_NEW_TIME], [DIRTY_REASON_DIFF] after last build at [DIRTY_REASON_OLD_TIME])
580
+
[DIRTY] foo v0.0.1 ([ROOT]/foo): the list of features changed
580
581
[COMPILING] foo v0.0.1 ([ROOT]/foo)
581
582
[RUNNING] `rustc [..]
582
583
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments