Skip to content

Disable Swift Configuration Traits - #109

Open
0xTim wants to merge 1 commit into
mainfrom
remove-swift-configuration-traits
Open

Disable Swift Configuration Traits#109
0xTim wants to merge 1 commit into
mainfrom
remove-swift-configuration-traits

Conversation

@0xTim

@0xTim 0xTim commented Aug 11, 2026

Copy link
Copy Markdown
Member

Swift Configuration's default traits pull in full Foundation because they enable the JSON configuration provider, which uses JSONSerialization. That undoes all the hard work in the library to only use FoundationEssentials as full foundation will be linked anyway. Since the server doesn't need any of the trait-hidden code, let's not include them

@gjcairo

gjcairo commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Thanks @0xTim !

@gjcairo

gjcairo commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Looks like CI is failing because of an SPM bug: swiftlang/swift-package-manager#10397

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ semver/major Breaks existing public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants