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
This PR adopts the `@section` and `@used` attributes now available in
the Swift 6.3 toolchain. These attributes replace the experimental
`@_section` and `@_used` attributes verbatim and they are always enabled
(so no need to check `hasFeature(SymbolLinkageMarkers)`.)
Because these attributes are only available with the Swift 6.3
toolchain, we do not use them when building with Swift 6.2. Instead, if
you build with Swift 6.2 you continue to use the "legacy" test discovery
mechanism based on type metadata emission. The "legacy" mechanism will
be removed in a future update.
Because the `_TestDiscovery` target needs to continue to compile with
Swift 6.2, I have not switched us over to `objectFormat()` yet. See
#1370 for details.
Resolves#1371.
Resolves rdar://136789701.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments