Skip to content

AST: Introduce the AllowRuntimeSymbolDeclarations experimental feature #80322

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

Merged

Conversation

tshortli
Copy link
Contributor

This feature only exists as a mechanism to suppress the warning introduced in #75378. The RegexParser module, which is effectively part of the standard library, declares a Swift runtime symbol and as a result every build of the compiler and stdlib produces warnings which there are no plans to address. Warnings that are not going to be addressed need some way of being suppressed, and an experimental features seems like a reasonable mechanism for this one.

@tshortli tshortli force-pushed the allow-swift-runtime-symbol-declarations branch from 7d7ead6 to 73d4b95 Compare March 27, 2025 04:55
@tshortli tshortli requested a review from jckarter March 28, 2025 14:29
@tshortli tshortli marked this pull request as ready for review March 28, 2025 14:30
This feature only exists as a mechanism to suppress the warning introduced in
swiftlang#75378. The RegexParser module, which is
effectively part of the standard library, declares a Swift runtime symbol and
as a result every build of the compiler and stdlib produces warnings which
there are no plans to address. Warnings that are not going to be addressed need
some way of being suppressed, and an experimental features seems like a
reasonable mechanism for this one.
@tshortli tshortli force-pushed the allow-swift-runtime-symbol-declarations branch from 73d4b95 to 82cd871 Compare March 28, 2025 19:32
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli
Copy link
Contributor Author

@jckarter does this look reasonable to you?

@tshortli tshortli merged commit e5d0cd4 into swiftlang:main Mar 30, 2025
3 checks passed
@tshortli tshortli deleted the allow-swift-runtime-symbol-declarations branch March 30, 2025 23:14
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.

1 participant