-
Notifications
You must be signed in to change notification settings - Fork 10.5k
6.2: Build and install Testing and Foundation for Wasm Swift SDK #83059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MaxDesiatov
merged 5 commits into
swiftlang:release/6.2
from
MaxDesiatov:yt/build-foundation-6.2
Jul 17, 2025
Merged
6.2: Build and install Testing and Foundation for Wasm Swift SDK #83059
MaxDesiatov
merged 5 commits into
swiftlang:release/6.2
from
MaxDesiatov:yt/build-foundation-6.2
Jul 17, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since 5f2b002, swift-testing is being compiled with WMO, which removes some of inter-object references in object files by DCE. The inter-object reference removal revealed a long-standing issue that the runtime metadata sections of objects in an archive are not always included in the final binary if symbols from those objects are not referenced anywhere. To force including all metadata sections in the final binary, we have to emit everything in a single object file when building the archive. This issue happens only for Wasm SDK, which ships swift-testing as a static archive.
This reverts commit d5abfa4.
@swift-ci test |
@swift-ci build toolchain |
930883c
to
05b501f
Compare
@swift-ci test |
@swift-ci build toolchain |
@swift-ci smoke test macos |
@swift-ci test macos |
1 similar comment
@swift-ci test macos |
bnbarham
approved these changes
Jul 17, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
build-script
Area → utils: The build script
cross-compilation
Area → utils: Cross-compilation of project sources
Foundation
python
Flag: Python source code
swift 6.2
WASI
WebAssembly System Interface support
WebAssembly
Platform: WebAssembly
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherry-pick of #82285, merged as 05204bd
Explanation: Include Swift Testing Foundation and libxml2 into the Swift SDK for WebAssembly
Scope: Limited to Swift SDK for Wasm
Risk: Low, due to limited scope. Changes were incubated on
main
for 2 weeks with no known issues. Swift Testing changes were incubated for more than a month.Testing: Manual testing with Swift SDKs produced off
main
.Issue: rdar://155865189
Reviewer: @MaxDesiatov