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 @abi proposal #2768

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

beccadax
Copy link
Contributor

@beccadax beccadax commented Mar 29, 2025

This proposal covers a subset of the functionality pitched in Controlling the ABI of a declaration; specifically, it supports func, init, subscript, and var, but excludes nominal type declarations, typealias, extension, and case. In addition to limiting the scope, this version of the proposal fills in a lot of details that were left vague at the pitch phase, most importantly the general framework for deciding how we check features for compatibility.

Most of this feature has been merged into main behind experimental feature ABIAttribute, though minor changes that came up while I was editing the proposal are still being implemented in swiftlang/swift#79466. There's also a standard library adoption PR at swiftlang/swift#79937 (I need to rebase this very soon).

@beccadax beccadax added the LSG Contains topics under the domain of the Language Steering Group label Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LSG Contains topics under the domain of the Language Steering Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants