You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The option as handled as described in the help message
-emit-supported-features
Emit a JSON file including all supported compiler features
Environment
Swift version 6.0-dev (LLVM 6b6d1cefaf4b4cc, Swift f7b4c4b26aa8116)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered:
rjmansfield
added
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
labels
Jul 2, 2024
rjmansfield
added a commit
to rjmansfield/swift-driver
that referenced
this issue
Jul 2, 2024
While this fixes the fatal error about the mode being unhandled, I noticed the behaviour of -emit-supported-features differs from that of the legacy driver in that the old driver would emit the json to stdout without an -o specified, while the new swift-driver will emit it to file e.g. hw.compilerFeatures-1.json. I'm not sure if this behaviour change is intentional, from emitSupportedCompilerFeaturesJob it looks like it should default to stdout.
Description
Using both the new and older driver results in unhandled output modes.
Reproduction
Expected behavior
The option as handled as described in the help message
Environment
Swift version 6.0-dev (LLVM 6b6d1cefaf4b4cc, Swift f7b4c4b26aa8116)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: