swift
4e2fbe17 - [swiftinterface] Handle target variants the same as targets (#77156)

Commit
342 days ago
[swiftinterface] Handle target variants the same as targets (#77156) 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.
Author
Parents
Loading