[arm64] Pointer auth test should link with C static library statically by dpaoliello · Pull Request #140756 · rust-lang/rust (original) (raw)

While trying to get the aarch64-msvc build working correctly (#140136), the pointer-auth-link-with-c test was failing.

The pointer auth test builds its C library statically:

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

Line 15 in3ef8e64

build_native_static_lib("test");

However, the Rust code did not indicate the link kind, so it defaulted to dynamic which then fails on Windows.