Skip to content

Commit 4eb27c5

Browse files
committed
darwin-ld64
1 parent 10023cf commit 4eb27c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
//! This is a regression test for https://github.com/rust-lang/rust/issues/140686.
2+
//! Although this is a ld64(ld-classic) bug, we still need to support it
3+
//! due to cross-compilation and support for older Xcode.
4+
15
//@ compile-flags: -Copt-level=3 -Ccodegen-units=256 -Clink-arg=-ld_classic
26
//@ run-pass
37
//@ only-x86_64-apple-darwin
48

5-
// This is a regression test for https://github.com/rust-lang/rust/issues/140686.
6-
// Although this is a ld64(ld-classic) bug, we still need to support it
7-
// due to cross-compilation and support for older Xcode.
8-
99
fn main() {
1010
let dst: Vec<u8> = Vec::new();
1111
let len = broken_func(std::hint::black_box(2), dst);

0 commit comments

Comments
 (0)