forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 30
[pull] swiftwasm from main #3996
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
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
On OpenBSD, x86_64 is spelled as amd64, and Swift already uses amd64 for the module path on this platform. We save the target architecture name as `target_arch` elsewhere in the lit config file, so on this platform, we need to use this for the module path.
* Not implementing POSIXError for a given platform is not a blocking problem to getting a successful build of Swift. However, it is part of the validation tests (albeit locked behind REQUIRES) and is referenced when building Foundation. Implement by forklifting from `sys/errno.h`. * Some Foundation class implementations require some missing includes in the platform modulemap. Add these.
Also see swiftlang#38140; we can remove this XFAIL just like Linux.
Fixes rdar://78889410 (cherry picked from commit f1d87de)
Fixes rdar://76254761. (cherry picked from commit 36832a8)
Fixes rdar://79412011 (cherry picked from commit 8ca0e30)
Fixes rdar://68225196 (cherry picked from commit 00e18a2)
Fixes rdar://60543202 (cherry picked from commit d0d4a88)
…ded. Mostly this consists of #if-ing out code that we don't need when running single threaded. rdar://84393438
Rather than conditionalising all the calls to mutex.lock() and mutex.unlock(), centralise the logic. rdar://84393438
This allows me to selectively enable build features (such as building lldb, building swiftpm reconfiguring etc.) locally from a single preset.
Fixes <rdar://82053644>. (cherry picked from commit e48de1a)
Let the later changes in stdlib/public/Concurrency/Task.swift win, since they contain and supersede this minor fix anyhow, instead of creating a merge conflict with 'main'. This reverts commit 1d63a5d.
Kuba reckons this will fix the test hanging. rdar://84393438
…c metadata This extends swiftlang#39944 to apply to more objc metadata. rdar://85037490
…lying this to PROTOCOL related data rdar://86256970
The cases' new names more accurately reflect what behavior occurs when SILOptions::LexicalLifetimes is assigned that case.
If -disable-copy-propagation is passed, just emit lexical diagnostic markers but do not enable lexical lifetimes.
when a task is adding adding new children to a task group, we need to synchronize with the task status record lock of the parent task that has the task group, to prevent races with concurrent cancellation and escalation. Radar-Id: rdar://problem/86311782
…an initial value. We process these as loadable vars. This is really useful since it ensures that uniqueness is preserved in this case: ``` let x: K2 do { x = self.k2 } switch _move(x)[userHandle] { case .foo: assert(_isUnique(&self.k2)) } ``` I added a test that proves this.
…td::copy() to avoid calling destructors on uninitialized memory
1) Don't force ObjC interop just to enable gratuitous `@objc deinit`. 2) Prefer `-enable-objc-interop` over `REQUIRES: objc_interop`.
[testing] Better cross-platform testing
…7b89cc791a4847eb32fc2a6 [move-function] Add support for properly checking let x: Int without an initial value.
…ACK_DEPLOYMENT and avoid building more back-deployment stdlib parts when not set
…ffects Extend "uses concurrency features" checks for closures currently being type checked
…minimization RequirementMachine: Implement minimization for concrete nested type requirements
…on-name [build-presets] Support expansion of preset option names
Fixes rdar://80424675.
…oup-child-creation-and-cancellation Synchronize adding a child task to a TaskGroup with parent task's TaskStatusRecord lock
…323e797f04555891fe3340f [move-function] After emitting an error for a move [allows_diagnostic], remove allows_diagnostic flag.
[Runtime] Don't use threading APIs when building single threaded.
…rmal [test] Reenable some stdlib long_test
…rement When a non-isolated requirement is witnessed by an actor-isolated witness, we are crossing into the actor. Ensure that we perform Sendable checking across the actor boundary here. Fixes the rest of rdar://80424675.
[NFC] Clean Up Some Warnings
…ed-stored-properties Don't infer 'nonisolated' on stored properties.
…actor-sendable-checks
…ocol-fixes Don't resolve protocol typealiases as DependentMemberTypes in Structural mode
cmake: Windows, adjust compiler identification on compiler swap
…rt_back_deployment Rename SWIFT_ENABLE_COMPATIBILITY_OVERRIDES -> SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT and avoid building more back-deployment stdlib parts when not set
Disable VFE/WME runtime tests when CPU=arm64e
MaxDesiatov
previously approved these changes
Dec 15, 2021
MaxDesiatov
approved these changes
Dec 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )