File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 56
56
os : macos-latest
57
57
rust : stable
58
58
other : x86_64-apple-ios
59
+ - name : macOS x86_64 nightly
60
+ os : macos-latest
61
+ rust : nightly
62
+ other : x86_64-apple-ios
59
63
- name : Windows x86_64 MSVC stable
60
64
os : windows-latest
61
65
rust : stable-msvc
Original file line number Diff line number Diff line change @@ -403,15 +403,22 @@ fn clean_verbose() {
403
403
Package :: new ( "bar" , "0.1.0" ) . publish ( ) ;
404
404
405
405
p. cargo ( "build" ) . run ( ) ;
406
- p. cargo ( "clean -p bar --verbose" )
407
- . with_stderr (
408
- "\
409
- [REMOVING] [..]
410
- [REMOVING] [..]
411
- [REMOVING] [..]
412
- [REMOVING] [..]
406
+ let mut expected = String :: from (
407
+ "\
408
+ [REMOVING] [..]target/debug/.fingerprint/bar[..]
409
+ [REMOVING] [..]target/debug/deps/libbar[..].rlib
410
+ [REMOVING] [..]target/debug/deps/bar-[..].d
411
+ [REMOVING] [..]target/debug/deps/libbar[..].rmeta
413
412
" ,
414
- )
413
+ ) ;
414
+ if cfg ! ( target_os = "macos" ) {
415
+ // Rust 1.69 has changed so that split-debuginfo=unpacked includes unpacked for rlibs.
416
+ for obj in p. glob ( "target/debug/deps/bar-*.o" ) {
417
+ expected. push_str ( & format ! ( "[REMOVING] [..]{}" , obj. unwrap( ) . display( ) ) ) ;
418
+ }
419
+ }
420
+ p. cargo ( "clean -p bar --verbose" )
421
+ . with_stderr_unordered ( & expected)
415
422
. run ( ) ;
416
423
p. cargo ( "build" ) . run ( ) ;
417
424
}
You can’t perform that action at this time.
0 commit comments