mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
_math would be able to build against either the Swift or the clang module for _Builtin_float; however the build will fail if the Swift module is present but does not contain the architectures we need, with errors like ``` <unknown>:0: error: could not find module '_Builtin_float' for target 'armv7-unknown-linux-android'; found: aarch64-unknown-linux-android, x86_64-unknown-linux-android, at: /home/build-user/build/swift-project/Ninja-Release/swift-linux-x86_64/lib/swift/android/_Builtin_float.swiftmodule/armv7-unknown-linux-android ``` In other words, in this situation we are not falling back to the clang module. Addresses rdar://165768601