mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Based on preliminary work from @rmaz. The compilation arguments for a swiftinterface file are preprocessed to modify the `-target` argument to match the preferred target (which comes from the command line) in cases in which the sub-architecture differs, but it is compatible (for example using `arm64e` when `arm64` is being compiled), but this was not done for the target variant, which ended up with mismatches on the sub-architecture used by the target and target variant, which fails an assert in assert toolchains.
120 KiB
120 KiB