Skip to content

Conversation

tshortli
Copy link
Contributor

To allow feature build settings to be composed more flexibly, allow an -enable-upcoming-feature flag to be overridden by a -disable-upcoming-feature flag. Whichever comes last on the command line takes effect. Provide the same functionality for -enable-experimental-feature as well.

Resolves rdar://126283879.

…al-feature.

To allow feature build settings to be composed more flexibly, allow an
`-enable-upcoming-feature` flag to be overridden by a
`-disable-upcoming-feature` flag. Whichever comes last on the command line
takes effect. Provide the same functionality for `-enable-experimental-feature`
as well.

Resolves rdar://126283879.
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli
Copy link
Contributor Author

Will update swiftlang/swift-driver separately.

@tshortli tshortli merged commit 0889142 into swiftlang:main Nov 16, 2024
5 checks passed
@tshortli tshortli deleted the disable-upcoming-feature branch November 16, 2024 23:14
tshortli added a commit to tshortli/swift-driver that referenced this pull request Nov 16, 2024
…eature.

Synchronize Options.swift with swiftlang/swift#77662
and update the driver to pass all feature related flags down to the frontend
together, preserving the order the flags were specified.
tshortli added a commit to tshortli/swift-driver that referenced this pull request Nov 18, 2024
…eature.

Synchronize Options.swift with swiftlang/swift#77662
and update the driver to pass all feature related flags down to the frontend
together, preserving the order the flags were specified.
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