-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Enable _Concurrency
for Embedded Swift with WASI
#79292
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
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
32da3a5
Enable `_Concurrency` for Wasm in Embedded Swift
MaxDesiatov 55f047b
Enable embedded concurrency for Wasm on Linux hosts
MaxDesiatov d42a8b8
Merge branch 'main' of github.com:apple/swift into maxd/embedded-wasm…
MaxDesiatov 635ef6a
Merge branch 'main' of github.com:apple/swift into maxd/embedded-wasm…
MaxDesiatov 4336eb6
Merge branch 'main' of github.com:apple/swift into maxd/embedded-wasm…
MaxDesiatov 375187d
Build embedded stdlib for `wasm32-unknown-wasip1-wasm` triple
MaxDesiatov 5a3626b
Pass `SWIFT_WASI_SYSROOT_PATH` in `Concurrency/CMakeLists.txt`
MaxDesiatov 8a11cda
Pass `SWIFT_WASI_SYSROOT_PATH` to `swift_build_support/products/swift…
MaxDesiatov e178bf8
Merge branch 'main' of github.com:apple/swift into maxd/embedded-wasm…
MaxDesiatov 431063b
Swift SDK build work in progress
MaxDesiatov 63d57f4
Fix `Python/python_lint.swift` test
MaxDesiatov a3e218d
Remove unnecessary diff in `products/swift.py`
MaxDesiatov ee5d8d0
Revert changes to `build-presets.ini`
MaxDesiatov f1b616f
Revert changes to `update-checkout-config.json`
MaxDesiatov a05560b
Remove unnecessary CMake `message(STATUS)` logging
MaxDesiatov b9de71b
Remove unreachable CMake code change from stdlib/public/Concurrency/C…
kateinoigakukun 59fbab8
CMake: Stop using `-I` for sysroot paths in the WASI stdlib
kateinoigakukun 220ab30
build: Alias wasm32-wasip1 to wasm32-wasi in the sysroot for Embedded…
kateinoigakukun 5973bc8
Merge pull request #80274 from kateinoigakukun/maxd/embedded-wasm-con…
MaxDesiatov cef01c1
Merge branch 'main' of github.com:apple/swift into maxd/embedded-wasm…
MaxDesiatov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are
-D__MACH__ -D__APPLE__
needed? those should be present with theapple
vendor.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's unclear to me. Keeping as is, changing it doesn't seem relevant to this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are needed for -apple-none-macho but shouldn't be needed otherwise. the
__MACH__
one should only be needed for os ~= darwin but sadly__MACH__
is abused to also mean__MACHO__