We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10023cf commit 4eb27c5Copy full SHA for 4eb27c5
tests/ui/linking/ld64-cross-compilation.rs
@@ -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
+
5
//@ compile-flags: -Copt-level=3 -Ccodegen-units=256 -Clink-arg=-ld_classic
6
//@ run-pass
7
//@ only-x86_64-apple-darwin
8
-// This is a regression test for https://github.com/rust-lang/rust/issues/140686.
-// Although this is a ld64(ld-classic) bug, we still need to support it
-// due to cross-compilation and support for older Xcode.
-
9
fn main() {
10
let dst: Vec<u8> = Vec::new();
11
let len = broken_func(std::hint::black_box(2), dst);
0 commit comments