Skip to content
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

Not so minor prerelease fixups/changes #106

Merged
merged 12 commits into from
Sep 28, 2023
Merged

Conversation

lorentey
Copy link
Member

This resolves minor issues uncovered during the (ongoing) manual prerelease testing process, and includes routine updates that are part of the release checklist.

Checklist

  • I've read the Contribution Guidelines
  • My contributions are licensed under the Swift license.
  • I've followed the coding style of the rest of the project.
  • I've added tests covering all new code paths my change adds to the project (if appropriate).
  • I've verified that my change does not break any existing tests.
  • I've updated the documentation if necessary.

@lorentey lorentey mentioned this pull request Sep 22, 2023
36 tasks
@lorentey lorentey added this to the 1.2.0 milestone Sep 22, 2023
@lorentey lorentey requested review from glessard and Azoy September 22, 2023 23:56
@lorentey
Copy link
Member Author

@swift-ci test

For builtins, we want to emulate the stdlib’s solution where all atomic primitive operations take and return a (sort of) opaque atomic representation value.

For C shims, we do not want to atomic primitives to take and return _Atomic(T) values, so let’s revert to the original 1.1.x solution.
@lorentey lorentey changed the title Minor prerelease fixups/changes Not so minor prerelease fixups/changes Sep 26, 2023
#if conditional parsing is evidently broken in 5.7, and it gets confused unless things are arranged just right. Things seem to work as long as the `compiler(>=5.9)` conditional is put on its own `#if` construct on the topmost level — so let’s do that for now.
This appears to resolve a build failure when library evolution is enabled. (This isn’t a fully supported configuration (this package is not ABI stable), but it should still be possible to build the package in that configuration.)

@_implementationOnly has bad failure modes when library evolution isn’t enabled, but I hope we’ll be avoiding those here, as on 5.9+, we’re only using it to import a couple of functions — we aren’t relying on imported things to set struct layouts or anything like that. 🤞
This makes these settings automatically apply to the test target, too.
Also, remove an orphaned package manifest link.
@lorentey
Copy link
Member Author

@swift-ci test

@lorentey lorentey merged commit cd142fd into apple:main Sep 28, 2023
@lorentey lorentey deleted the release-cleanup branch September 28, 2023 01:26
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.

2 participants