@@ -316,7 +316,7 @@ fn features_are_unified_among_lib_and_bin_dep_of_same_target() {
316316 [COMPILING] d2 v0.0.1 ([CWD]/d2)
317317[COMPILING] d1 v0.0.1 ([CWD]/d1)
318318[COMPILING] foo v0.0.1 ([CWD])
319- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
319+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
320320" ,
321321 )
322322 . run ( ) ;
@@ -568,7 +568,9 @@ fn build_script_with_bin_artifacts() {
568568 . masquerade_as_nightly_cargo ( & [ "bindeps" ] )
569569 . with_stderr_contains ( "[COMPILING] foo [..]" )
570570 . with_stderr_contains ( "[COMPILING] bar v0.5.0 ([CWD]/bar)" )
571- . with_stderr_contains ( "[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]" )
571+ . with_stderr_contains (
572+ "[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [..]" ,
573+ )
572574 . run ( ) ;
573575
574576 let build_script_output = build_script_output_string ( & p, "foo" ) ;
@@ -752,7 +754,7 @@ fn build_script_with_selected_dashed_bin_artifact_and_lib_true() {
752754 "\
753755 [COMPILING] bar-baz v0.5.0 ([CWD]/bar)
754756[COMPILING] foo [..]
755- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]" ,
757+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]" ,
756758 )
757759 . run ( ) ;
758760
@@ -849,7 +851,7 @@ fn lib_with_selected_dashed_bin_artifact_and_lib_true() {
849851 "\
850852 [COMPILING] bar-baz v0.5.0 ([CWD]/bar)
851853[COMPILING] foo [..]
852- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]" ,
854+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]" ,
853855 )
854856 . run ( ) ;
855857
@@ -895,7 +897,9 @@ fn allow_artifact_and_no_artifact_dep_to_same_package_within_different_dep_categ
895897 p. cargo ( "test -Z bindeps" )
896898 . masquerade_as_nightly_cargo ( & [ "bindeps" ] )
897899 . with_stderr_contains ( "[COMPILING] bar v0.5.0 ([CWD]/bar)" )
898- . with_stderr_contains ( "[FINISHED] test [unoptimized + debuginfo] target(s) in [..]" )
900+ . with_stderr_contains (
901+ "[FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [..]" ,
902+ )
899903 . run ( ) ;
900904}
901905
@@ -1229,7 +1233,7 @@ fn no_cross_doctests_works_with_artifacts() {
12291233 "\
12301234 [COMPILING] bar v0.5.0 ([CWD]/bar)
12311235[COMPILING] foo v0.0.1 ([CWD])
1232- [FINISHED] test [unoptimized + debuginfo] target(s) in [..]
1236+ [FINISHED] ` test` profile [unoptimized + debuginfo] target(s) in [..]
12331237[RUNNING] [..] (target/{triple}/debug/deps/foo-[..][EXE])
12341238[DOCTEST] foo
12351239" ,
@@ -1251,7 +1255,7 @@ fn no_cross_doctests_works_with_artifacts() {
12511255[RUNNING] `rustc --crate-name bar bar/src/main.rs [..]--target {triple} [..]
12521256[COMPILING] foo v0.0.1 ([CWD])
12531257[RUNNING] `rustc --crate-name foo [..]
1254- [FINISHED] test [unoptimized + debuginfo] target(s) in [..]" ,
1258+ [FINISHED] ` test` profile [unoptimized + debuginfo] target(s) in [..]" ,
12551259 triple = target
12561260 ) )
12571261 . run ( ) ;
@@ -1268,7 +1272,7 @@ fn no_cross_doctests_works_with_artifacts() {
12681272 "[FRESH] bar v0.5.0 ([CWD]/bar)
12691273[COMPILING] foo v0.0.1 ([CWD])
12701274[RUNNING] `rustc --crate-name foo [..]--test[..]
1271- [FINISHED] test [unoptimized + debuginfo] target(s) in [..]
1275+ [FINISHED] ` test` profile [unoptimized + debuginfo] target(s) in [..]
12721276[RUNNING] `[CWD]/target/{triple}/debug/deps/foo-[..][EXE]`" ,
12731277 triple = target
12741278 ) )
@@ -1702,7 +1706,7 @@ fn allow_artifact_and_non_artifact_dependency_to_same_crate_if_these_are_not_the
17021706 "\
17031707 [COMPILING] bar [..]
17041708[COMPILING] foo [..]
1705- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
1709+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
17061710" ,
17071711 )
17081712 . run ( ) ;
@@ -1737,7 +1741,7 @@ fn prevent_no_lib_warning_with_artifact_dependencies() {
17371741 "\
17381742 [COMPILING] bar v0.5.0 ([CWD]/bar)\n \
17391743 [CHECKING] foo v0.0.0 ([CWD])\n \
1740- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]",
1744+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]",
17411745 )
17421746 . run ( ) ;
17431747}
@@ -1771,7 +1775,7 @@ fn show_no_lib_warning_with_artifact_dependencies_that_have_no_lib_but_lib_true(
17711775 . with_stderr_contains ( "[WARNING] foo v0.0.0 ([CWD]) ignoring invalid dependency `bar` which is missing a lib target" )
17721776 . with_stderr_contains ( "[COMPILING] bar v0.5.0 ([CWD]/bar)" )
17731777 . with_stderr_contains ( "[CHECKING] foo [..]" )
1774- . with_stderr_contains ( "[FINISHED] dev [unoptimized + debuginfo] target(s) in [..]" )
1778+ . with_stderr_contains ( "[FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]" )
17751779 . run ( ) ;
17761780}
17771781
@@ -1977,7 +1981,7 @@ fn env_vars_and_build_products_for_various_build_targets() {
19771981 "\
19781982 [COMPILING] bar [..]
19791983[COMPILING] foo [..]
1980- [FINISHED] test [unoptimized + debuginfo] target(s) in [..]
1984+ [FINISHED] ` test` profile [unoptimized + debuginfo] target(s) in [..]
19811985[RUNNING] unittests [..]
19821986[RUNNING] tests/main.rs [..]
19831987[DOCTEST] foo
@@ -2151,7 +2155,7 @@ fn doc_lib_true() {
21512155 [COMPILING] bar v0.0.1 ([CWD]/bar)
21522156[DOCUMENTING] bar v0.0.1 ([CWD]/bar)
21532157[DOCUMENTING] foo v0.0.1 ([CWD])
2154- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2158+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
21552159[GENERATED] [CWD]/target/doc/foo/index.html
21562160" ,
21572161 )
@@ -2230,7 +2234,7 @@ fn rustdoc_works_on_libs_with_artifacts_and_lib_false() {
22302234 "\
22312235 [COMPILING] bar v0.5.0 ([CWD]/bar)
22322236[DOCUMENTING] foo v0.0.1 ([CWD])
2233- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2237+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
22342238[GENERATED] [CWD]/target/doc/foo/index.html
22352239" ,
22362240 )
@@ -2433,7 +2437,7 @@ fn calc_bin_artifact_fingerprint() {
24332437 "\
24342438 [COMPILING] bar v0.5.0 ([CWD]/bar)
24352439[CHECKING] foo v0.1.0 ([CWD])
2436- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2440+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
24372441" ,
24382442 )
24392443 . run ( ) ;
@@ -2450,7 +2454,7 @@ fn calc_bin_artifact_fingerprint() {
24502454[DIRTY] foo v0.1.0 ([CWD]): the dependency bar was rebuilt
24512455[CHECKING] foo v0.1.0 ([CWD])
24522456[RUNNING] `rustc --crate-name foo [..]`
2453- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2457+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
24542458" ,
24552459 )
24562460 . run ( ) ;
@@ -2462,7 +2466,7 @@ fn calc_bin_artifact_fingerprint() {
24622466 "\
24632467 [FRESH] bar v0.5.0 ([CWD]/bar)
24642468[FRESH] foo v0.1.0 ([CWD])
2465- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2469+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
24662470" ,
24672471 )
24682472 . run ( ) ;
@@ -2516,7 +2520,7 @@ fn with_target_and_optional() {
25162520[RUNNING] `rustc --crate-name d1 [..]--crate-type bin[..]
25172521[CHECKING] foo v0.0.1 [..]
25182522[RUNNING] `rustc --crate-name foo [..]--cfg[..]d1[..]
2519- [FINISHED] dev [..]
2523+ [FINISHED] ` dev` profile [..]
25202524" ,
25212525 )
25222526 . run ( ) ;
@@ -2567,7 +2571,7 @@ fn with_assumed_host_target_and_optional_build_dep() {
25672571[RUNNING] `rustc --crate-name d1 [..]--crate-type bin[..]
25682572[RUNNING] `[CWD]/target/debug/build/foo-[..]/build-script-build`
25692573[RUNNING] `rustc --crate-name foo [..]--cfg[..]d1[..]
2570- [FINISHED] dev [..]
2574+ [FINISHED] ` dev` profile [..]
25712575" ,
25722576 )
25732577 . run ( ) ;
@@ -2690,7 +2694,7 @@ fn decouple_same_target_transitive_dep_from_artifact_dep() {
26902694[COMPILING] a v0.1.0 ([CWD]/a)
26912695[COMPILING] bar v0.1.0 ([CWD]/bar)
26922696[COMPILING] foo v0.1.0 ([CWD])
2693- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2697+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
26942698" ,
26952699 )
26962700 . run ( ) ;
@@ -2790,7 +2794,7 @@ fn decouple_same_target_transitive_dep_from_artifact_dep_lib() {
27902794[COMPILING] a v0.1.0 ([CWD]/a)
27912795[COMPILING] bar v0.1.0 ([CWD]/bar)
27922796[COMPILING] foo v0.1.0 ([CWD])
2793- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2797+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
27942798" ,
27952799 )
27962800 . run ( ) ;
@@ -2915,7 +2919,7 @@ fn decouple_same_target_transitive_dep_from_artifact_dep_and_proc_macro() {
29152919[COMPILING] c v0.1.0 ([CWD]/c)
29162920[COMPILING] bar v0.1.0 ([CWD]/bar)
29172921[COMPILING] foo v0.1.0 ([CWD])
2918- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2922+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
29192923" ,
29202924 )
29212925 . run ( ) ;
@@ -2974,7 +2978,7 @@ fn same_target_artifact_dep_sharing() {
29742978 [COMPILING] a v0.1.0 ([CWD]/a)
29752979[COMPILING] bar v0.1.0 ([CWD]/bar)
29762980[COMPILING] foo v0.1.0 ([CWD])
2977- [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
2981+ [FINISHED] ` dev` profile [unoptimized + debuginfo] target(s) in [..]
29782982" ,
29792983 )
29802984 . run ( ) ;
0 commit comments