Skip to content

Conversation

cmcgee1024
Copy link
Member

This setting wasn't present before, so this is added as a build setting enumeration with
a special "none" default value that performs the fallback that is based on the kind of the
module.

Remove the swift compiler feature checks for the previously added settings since the
feature is unrelated to them.

@cmcgee1024
Copy link
Member Author

@swift-ci please test

@@ -2757,6 +2759,18 @@ public enum LinkerDriverChoice: String, Equatable, Hashable, EnumerationMacroTyp
case auto
}

public enum DoccMinimumAccessLevel: String, Equatable, Hashable, EnumerationMacroType {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may need to add a case to the switch in EnumBuildOptionType.declareMacro for this enum type too. It might be nice to have a test in DocumentationTaskConstructionTests that the flag is being passed through correctly

@cmcgee1024
Copy link
Member Author

@swift-ci please test

@cmcgee1024
Copy link
Member Author

@swift-ci please test

@cmcgee1024 cmcgee1024 merged commit 1a47da0 into swiftlang:main Sep 10, 2025
37 checks passed
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