Skip to content

Commit 5d63c29

Browse files
Rollup merge of #156260 - ZequanWu:fix-ld-warn, r=JohnTitor
test: suppress deprecation warning The newer mac os ld linker emits a deprecation warning: ``` warning: linker stderr: ld: -ld_classic is deprecated and will be removed in a future release | = note: `#[warn(linker_messages)]` on by default ```
2 parents 604d124 + 21ef9ba commit 5d63c29

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/ui/linking/ld64-cross-compilation.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//@ run-pass
77
//@ only-x86_64-apple-darwin
88

9+
#![allow(linker_messages)]
10+
911
fn main() {
1012
let dst: Vec<u8> = Vec::new();
1113
let len = broken_func(std::hint::black_box(2), dst);

0 commit comments

Comments
 (0)