Skip to content

Commit 12d6a47

Browse files
authored
Rollup merge of rust-lang#140756 - dpaoliello:paclink, r=jieyouxu
[arm64] Pointer auth test should link with C static library statically While trying to get the aarch64-msvc build working correctly (rust-lang#140136), the `pointer-auth-link-with-c` test was failing. The pointer auth test builds its C library statically: https://github.com/rust-lang/rust/blob/3ef8e64ce9f72ee8d600d55bc43b36eed069b252/tests/run-make/pointer-auth-link-with-c/rmake.rs#L15 However, the Rust code did not indicate the link kind, so it defaulted to dynamic which then fails on Windows.
2 parents 13ad118 + 742aaf9 commit 12d6a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-make/pointer-auth-link-with-c/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#[link(name = "test")]
1+
#[link(name = "test", kind = "static")]
22
extern "C" {
33
fn foo() -> i32;
44
}

0 commit comments

Comments
 (0)