Skip to content

[6.0][Runtime] Allow disabling/enabling prespecializations library per-process. #72980

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

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Apr 11, 2024

Cherry-pick #72958 to release/6.0.

Read a list of disabled process names from the prespecializations library, and turn the feature off if the current process matches. Also allow passing process names in environment variables. Processes can be disabled by name using SWIFT_DEBUG_LIB_PRESPECIALIZED_DISABLED_PROCESSES, and a disable can be overridden with SWIFT_DEBUG_LIB_PRESPECIALIZED_ENABLED_PROCESSES.

rdar://126216786

…r-process.

Read a list of disabled process names from the prespecializations library, and turn the feature off if the current process matches. Also allow passing process names in environment variables. Processes can be disabled by name using SWIFT_DEBUG_LIB_PRESPECIALIZED_DISABLED_PROCESSES, and a disable can be overridden with SWIFT_DEBUG_LIB_PRESPECIALIZED_ENABLED_PROCESSES.

rdar://126216786
(cherry picked from commit b8f29cf)
@mikeash mikeash requested a review from a team as a code owner April 11, 2024 15:39
@mikeash
Copy link
Contributor Author

mikeash commented Apr 11, 2024

@swift-ci please test

1 similar comment
@mikeash
Copy link
Contributor Author

mikeash commented Apr 19, 2024

@swift-ci please test

@mikeash mikeash enabled auto-merge April 19, 2024 15:55
@mikeash mikeash merged commit 44efb59 into swiftlang:release/6.0 Apr 19, 2024
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