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.
2 parents 31cf80b + c03b91f commit 0c81fa6Copy full SHA for 0c81fa6
build.rs
@@ -491,8 +491,9 @@ mod c {
491
492
// Include out-of-line atomics for aarch64, which are all generated by supplying different
493
// sets of flags to the same source file.
494
+ // Note: Out-of-line aarch64 atomics are not supported by the msvc toolchain (#430).
495
let src_dir = root.join("lib/builtins");
- if target_arch == "aarch64" {
496
+ if target_arch == "aarch64" && target_env != "msvc" {
497
// See below for why we're building these as separate libraries.
498
build_aarch64_out_of_line_atomics_libraries(&src_dir, cfg);
499
0 commit comments