swift-frontend flag -target-variant
does not persist in swift object file when generating static library
#73546
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
Currently, the Cxx-interop module located at swift/stdlib is the only component that compiles as a static library while only containing swift files. When performing standard builds with cxx-interop enabled, the object files that are generated using swift-frontend ( Cxx.o , CxxStdlib.o ) do not contain maccatalyst platform when linking to a static library using lipo
Reproduction
Expected behavior
when running
otool -l lib/swift/macosx/arm64/libswiftCxxStdlib.a | grep platform
, you should see both platform 1 and platform 6 ( maccatalyst ), but instead you only see platform 1Environment
swift-5.10-release, but is also in main as well.
Additional information
No response
The text was updated successfully, but these errors were encountered: