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 2886b36 commit 87a09b2Copy full SHA for 87a09b2
src/bootstrap/src/core/build_steps/llvm.rs
@@ -421,6 +421,13 @@ impl Step for Llvm {
421
ldflags.shared.push(" -latomic");
422
}
423
424
+ if target.starts_with("arm64ec") {
425
+ // MSVC linker requires the -machine:arm64ec flag to be passed to
426
+ // know it's linking as Arm64EC (vs Arm64X).
427
+ ldflags.exe.push(" -machine:arm64ec");
428
+ ldflags.shared.push(" -machine:arm64ec");
429
+ }
430
+
431
if target.is_msvc() {
432
cfg.define("CMAKE_MSVC_RUNTIME_LIBRARY", "MultiThreaded");
433
cfg.static_crt(true);
0 commit comments