This adds a special build variant where C atomics are replaced with LLVM intrinsics.
This is not going to be enabled by default, because the use of -parse-stdlib is currently verboten for Swift packages.
However, it is an important step forward: once https://github.com/apple/swift/issues/56105 gets fixed, and we figure out how to allow the use of builtins from Swift packages, then this package could do away with defining a C module altogether.
This adds a special build variant where C atomics are replaced with LLVM intrinsics.
This is not going to be enabled by default, because the use of
-parse-stdlib
is currently verboten for Swift packages.However, it is an important step forward: once https://github.com/apple/swift/issues/56105 gets fixed, and we figure out how to allow the use of builtins from Swift packages, then this package could do away with defining a C module altogether.
Checklist