Skip to content

Update GettingStarted.md #38659

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

Closed
wants to merge 92 commits into from
Closed

Update GettingStarted.md #38659

wants to merge 92 commits into from

Conversation

mcc-devel
Copy link

issue already fixed in pull request #959 at mozilla/sccache#959 and commit 7f8d643c633b240cf33fb5dbd5a89d36b0a0c1e3 at mozilla/sccache@7f8d643

al45tair and others added 30 commits June 19, 2021 10:20
The Demangler can sometimes output ArgumentTuples containing a single argument
without placing that argument inside a Tuple node.  OldRemangler failed to take
account of this and either crashed or failed with an assertion failure depending
on whether assertions were enabled or not.

rdar://63678072
Added a counterpart to the swift_reflection_projectEnumValue() API for the
legacy interop support in SwiftRemoteMirrorLegacyInterop.h.

Also updated the test to use it to extract information from an enum.

rdar://62128103
…tically.

Added a run of the interop test as part of the test suite.
The (invalid) type name '__TJO' caused a NULL dereference.  Fix that
and add a test case.

rdar://80602920
…tion

In code completion we might call `preCheckExpression` twice - once for the first pass and once for the second pass. This is fine since `preCheckExpression` idempotent, so don't assert if we are in code completion mode.

Fixes rdar://79136653 [SR-14755]
Except for a handful of places we know about, there should be no static
constructors or destructors in the runtime; they're undesirable because
they inflate start up or shut down times, and in the case of destructors
we can't even guarantee that they will actually run (e.g. if the program
declares that it supports fast termination, they just won't).

It should be OK to change the warnings to errors as a result.

rdar://80965245
This change makes ClangImporter import some C++ member functions as non-mutating, given that they satisfy two requirements:
* the function itself is marked as `const`
* the parent struct doesn't contain any `mutable` members

`get` accessors of subscript operators are now also imported as non-mutating if the C++ `operator[]` satisfies the requirements above.

Fixes SR-12795.
…t correctly for pattern completion

We weren’t setting the code completion token status correctly when parsing patterns with code completion tokens.

Because of this, in the added test case, the `searchSubject` gets added as a member of `Foo` twice - once in the first pass and once in the second pass, causing an assertion failure.

Fixes rdar://80575116 [SR-14687]
SILGenApply can work with a function value at any abstraction level, so if we're loading a member out of an
aggregate that's stored at a different abstraction level than the substituted abstraction level, we can
just apply it the way it is without reabstracting.
issue already fixed at pull request #959 at mozilla/sccache#959 and commit 7f8d643c633b240cf33fb5dbd5a89d36b0a0c1e3 at mozilla/sccache@7f8d643
Re-enable test that should not be flaky now.
…rmance.

Give BuiltinProtocolConformance a generic signature, which can be used to
describe the generic parameters used within the builtin conformance, e.g.,
`<T1, T2, T3>` for a tuple type `(T1, T2, T3)`. Also store the
conditional requirements as trailing objects, requiring them to be
precomputed by whatever builds the conformances. Together, this means
that builtin protocol conformances act like normal conformances with
respect to conditional requirements and substitutions: they will be
defined generically, then a specialized conformance will be layered on
top to provide the substitutions.
[test] Add test for inout arg in strange interpolation
[RemoteMirror] Add swift_reflection_interop_projectEnumValue()
[Demangler] Fix OldRemangler to cope with single argument functions.
[Demangler] Fix NULL dereference on malformed mangled class name.
[Runtime] Static constructors and destructors should be an error here.
Add implement conformance of structural types to Sendable as appropriate:
* A tuple type is Sendable when its element types are Sendable
* A metatype type is Sendable
* A function type is Sendable if it is @sendable, thin, or C
* A builtin type is always Sendable

Implements rdar://76836578.
…ember-ref

SILGen: Don't reabstract a member ref we're about to directly apply.
Always suggest typealias declarations from inherited protocols.

Fixes rdar://78780638 [SR-14688]
bnbarham and others added 27 commits July 29, 2021 13:36
…sync

Replace @completionHandlerAsync with @available(*, renamed:)
Stopped validation-test/compiler_crashers_2_fixed/rdar79383990.swift
from trying to call -[NSBackgroundActivityScheduler scheduleWithBlock:]
async--that method is now annotated NS_SWIFT_DISABLE_ASYNC.
DependenciesScanner: include -sdk in Swift module building command
The attribute was missing from functions with getters as their async
alternative. Only getters are imported like this, so no need to check
for the other accessors.

Resolves rdar://80612566
…_crashers_2_fixed/rdar79383990.swift/20210728/1
In order to work for an ASAN build, parts of this test need themselves to be
built with ASAN turned on.

rdar://81274645
…nts-when-rebuilding

GSB: Fix some bugs in generic signature rebuilding
…705f6291f3dd981cc30040da

Revert "[concurrency] Implement a compatibility .a library for Concurrency."
This allows us to build against a macOS 12 SDK and test on macOS 11.

rdar://81133606
…9851ec1fa844362c46b232b7

Revert "Fix test."
[Tests] Fix RemoteMirror/interop.swift to work with ASAN enabled.
[test] Update alternative interface framework module interface test to run on both arm64 and x86_64
[ClangImporter] Add @available(*, renamed:) to imported async getters
Allowing errors is attempting to create a module regardless of any
potential failures, so do our best to continue rather than crash (even
if a corresponding build would then crash).
[Runtime] Weakly import dyld protocol conformance functions.
[Serialization] Ignore conformance failures when allowing errors
C++ Interop: fix `ClangImporter/cxx_interop_ir.swift` on 32-bit
@xwu
Copy link
Collaborator

xwu commented Sep 5, 2021

You'll need to retarget and rebase this PR on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.