Skip to content

[6.1] The SWIFT_DUMP_ACCESSIBLE_FUNCTIONS flag must be a bool, not a string #79148

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

ktoso
Copy link
Contributor

@ktoso ktoso commented Feb 5, 2025

Description: This flag is used in an if condition to only conditionally log some debug information (swift_once) for Distributed. Since it was a string, it was wrongly always "true" and the debug logging has happened always. This fixes the flag to be a bool and stops accidentally logging debug information.
Scope/Impact: Any Distributed adopter making a remote call.
Risk: Low, trivial fix to correct type of flag. No compatibility impact.
Testing: Manually verified the debug logging is not present
Reviewed by: @xedin

Original PR: #79147
Radar: rdar://144203699

@ktoso ktoso requested a review from a team as a code owner February 5, 2025 02:49
@ktoso
Copy link
Contributor Author

ktoso commented Feb 5, 2025

@swift-ci please test

@ktoso ktoso added the distributed Feature → concurrency: distributed actor label Feb 5, 2025
@ktoso ktoso changed the title The SWIFT_DUMP_ACCESSIBLE_FUNCTIONS flag must be a bool, not a string [6.1] The SWIFT_DUMP_ACCESSIBLE_FUNCTIONS flag must be a bool, not a string Feb 5, 2025
@ktoso ktoso merged commit 7aa8910 into swiftlang:release/6.1 Feb 6, 2025
5 checks passed
@ktoso ktoso deleted the pick-wip-flag-SWIFT_DUMP_ACCESSIBLE_FUNCTIONS branch February 6, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed Feature → concurrency: distributed actor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants