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

Add Sendable annotations to the syscall wrappers #3087

Merged

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jan 24, 2025

Motivation

Unfortunately there are a few places where we have to help the compiler out to realise that our copies of the libc functions are also Sendable, and -require-explicit-sendable can cause us some trouble if we don't annotate our usableFromInline types.

Modifications

Annotate our usableFromInline types
Add some @sendable

Results

The march continues

Motivation

Unfortunately there are a few places where we have to help
the compiler out to realise that our copies of the libc functions
are also Sendable, and -require-explicit-sendable can cause
us some trouble if we don't annotate our usableFromInline types.

Modifications

Annotate our usableFromInline types
Add some @sendable

Results

The march continues
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Jan 24, 2025
@Lukasa Lukasa enabled auto-merge (squash) January 24, 2025 14:58
@Lukasa Lukasa merged commit c2ccad6 into apple:main Jan 24, 2025
33 of 35 checks passed
@Lukasa Lukasa deleted the cb-add-sendable-annotations-to-syscall-wrapper branch January 24, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants