-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Tracking Issue for profile-rustflags #10271
Copy link
Copy link
Open
Labels
A-profilesArea: profilesArea: profilesA-rustflagsArea: rustflagsArea: rustflagsC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.S-waiting-on-feedbackStatus: An implemented feature is waiting on community feedback for bugs or design concerns.Status: An implemented feature is waiting on community feedback for bugs or design concerns.Z-profile-rustflagsNightly: profile-rustflagsNightly: profile-rustflags
Metadata
Metadata
Assignees
Labels
A-profilesArea: profilesArea: profilesA-rustflagsArea: rustflagsArea: rustflagsC-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.S-waiting-on-feedbackStatus: An implemented feature is waiting on community feedback for bugs or design concerns.Status: An implemented feature is waiting on community feedback for bugs or design concerns.Z-profile-rustflagsNightly: profile-rustflagsNightly: profile-rustflags
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Unstable, baking
Summary
Original issue: #7878
Implementation: #10217
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#profile-rustflags-option
The
profile-rustflagsfeature allows setting RUSTFLAGS per-profile.Status update: #10271 (comment)
For per-target-profiles, see #4897
Unresolved Issues
Cargo.tomlcargo testmay fail if they aren't passed to rustdoc. However, rustdoc doesn't accept all of rustc's flags. Adding arustdocflagsoption seems to be adding more unwanted complexity, though.build-override.rustflags = [].TargetInfo, which impacts feature resolution and other things.Future Extensions
No response
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.