Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 12, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

3405691582 and others added 29 commits April 3, 2021 12:39
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)
Follow-on to commit 36832a8.

(cherry picked from commit 4c82b77)
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.
kubamracek and others added 26 commits December 14, 2021 09:59
…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
…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.
…ed-stored-properties

Don't infer 'nonisolated' on stored properties.
…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
MaxDesiatov previously approved these changes Dec 15, 2021
@MaxDesiatov MaxDesiatov merged commit 0556ae6 into swiftwasm Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.