@@ -4249,20 +4249,17 @@ fn targets_selected_default() {
42494249 p. cargo ( "build -v" )
42504250 // Binaries.
42514251 . with_stderr_contains (
4252- "\
4253- [RUNNING] `rustc --crate-name foo src/main.rs --color never --crate-type bin \
4252+ "[RUNNING] `rustc --crate-name foo src/main.rs --color never --crate-type bin \
42544253 --emit=[..]link[..]",
42554254 )
42564255 // Benchmarks.
42574256 . with_stderr_does_not_contain (
4258- "\
4259- [RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
4257+ "[RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
42604258 -C opt-level=3 --test [..]",
42614259 )
42624260 // Unit tests.
42634261 . with_stderr_does_not_contain (
4264- "\
4265- [RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
4262+ "[RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
42664263 -C debuginfo=2 --test [..]",
42674264 )
42684265 . run ( ) ;
@@ -4274,14 +4271,12 @@ fn targets_selected_all() {
42744271 p. cargo ( "build -v --all-targets" )
42754272 // Binaries.
42764273 . with_stderr_contains (
4277- "\
4278- [RUNNING] `rustc --crate-name foo src/main.rs --color never --crate-type bin \
4274+ "[RUNNING] `rustc --crate-name foo src/main.rs --color never --crate-type bin \
42794275 --emit=[..]link[..]",
42804276 )
42814277 // Unit tests.
42824278 . with_stderr_contains (
4283- "\
4284- [RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
4279+ "[RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
42854280 -C debuginfo=2 --test [..]",
42864281 )
42874282 . run ( ) ;
@@ -4293,14 +4288,12 @@ fn all_targets_no_lib() {
42934288 p. cargo ( "build -v --all-targets" )
42944289 // Binaries.
42954290 . with_stderr_contains (
4296- "\
4297- [RUNNING] `rustc --crate-name foo src/main.rs --color never --crate-type bin \
4291+ "[RUNNING] `rustc --crate-name foo src/main.rs --color never --crate-type bin \
42984292 --emit=[..]link[..]",
42994293 )
43004294 // Unit tests.
43014295 . with_stderr_contains (
4302- "\
4303- [RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
4296+ "[RUNNING] `rustc --crate-name foo src/main.rs --color never --emit=[..]link \
43044297 -C debuginfo=2 --test [..]",
43054298 )
43064299 . run ( ) ;
@@ -4337,8 +4330,7 @@ fn no_linkable_target() {
43374330 . build ( ) ;
43384331 p. cargo ( "build" )
43394332 . with_stderr_contains (
4340- "\
4341- [WARNING] The package `the_lib` provides no linkable [..] \
4333+ "[WARNING] The package `the_lib` provides no linkable [..] \
43424334 while compiling `foo`. [..] in `the_lib`'s Cargo.toml. [..]",
43434335 )
43444336 . run ( ) ;
0 commit comments