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
[6.2][PackageModel] Toolchain: A few fixes for features supported by Swift compiler (#8762)
- Explanation:
`swift package migrate` is broken when used with older toolchains.
- Fix "supported features" parsing with older toolchains.
`-print-supported-features` flag used to output "enabled_in" version as
an integer (major only).
- Handle absence of optional features section. `JSON.get` would throw if
the key couldn't be found, let's handle that gracefully for an optional
"optional features" section.
- Main Branch PR:
#8761
- Risk: Low (only `swift package migrate` is affected by this changes).
- Resolves: rdar://152533205
- Reviewed By: @dschaefer2
- Testing: Updated existing tests in the suite, added new test-cases.
0 commit comments