Skip to content

Add unstable_rust_features attribute#3963

Open
FabianWolff wants to merge 1 commit intobazelbuild:mainfrom
FabianWolff:unstable_rust_features
Open

Add unstable_rust_features attribute#3963
FabianWolff wants to merge 1 commit intobazelbuild:mainfrom
FabianWolff:unstable_rust_features

Conversation

@FabianWolff
Copy link
Copy Markdown
Contributor

This attribute can be set to the label of a target that provides UnstableRustFeaturesInfo, which maps a label to a set of unstable features allowed for that label. The intent is to provide a way to centrally manage the use of unstable features, without having to use -Zallow-features= manually in rustc_flags for every affected target.

@FabianWolff FabianWolff force-pushed the unstable_rust_features branch 2 times, most recently from 383f6ba to 968751a Compare April 14, 2026 14:23
@FabianWolff FabianWolff force-pushed the unstable_rust_features branch from 968751a to 48e46b3 Compare April 14, 2026 14:26
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