-
Notifications
You must be signed in to change notification settings - Fork 74
Turn long-deprecated -C options into errors #978
Copy link
Copy link
Open
Labels
T-compilerAdd this label so rfcbot knows to poll the compiler teamAdd this label so rfcbot knows to poll the compiler teamdisposition-mergeThe FCP starter wants to merge thisThe FCP starter wants to merge thismajor-changeA proposal to make a major change to rustcA proposal to make a major change to rustcproposed-final-comment-periodAn FCP has been started, cast your votes and raise concernsAn FCP has been started, cast your votes and raise concerns
Metadata
Metadata
Assignees
Labels
T-compilerAdd this label so rfcbot knows to poll the compiler teamAdd this label so rfcbot knows to poll the compiler teamdisposition-mergeThe FCP starter wants to merge thisThe FCP starter wants to merge thismajor-changeA proposal to make a major change to rustcA proposal to make a major change to rustcproposed-final-comment-periodAn FCP has been started, cast your votes and raise concernsAn FCP has been started, cast your votes and raise concerns
Type
Fields
Give feedbackNo fields configured for issues without a type.
Proposal
We have some
-Cflags that have had no effect other than issuing a warning for a while:-Carhas been documented to do nothing for more than 8 years (rust-lang/rust@691ab6c) and causes a warning for more than a year (mark deprecated option as deprecated in rustc_session to remove copypasta and small refactor rust#135126).-Cno-stack-checkhas been made a NOP and deprecated with a warning more than 9 years ago (rust-lang/rust@c670293)-Cinline-thresholdhas been made a NOP and deprecated with a warning almost 2 years ago (Deprecate no-op codegen option-Cinline-threshold=...rust#124712).I think there's no reason to keep these around -- and it risks people using them without reading the docs properly and then getting unexpected results. So I propose we turn these warning into errors: rust-lang/rust#154498.
Mentors or Reviewers
If you have a reviewer or mentor in mind for this work, mention them here. You can put your own name here if you are planning to mentor the work.
Process
The main points of the Major Change Process are as follows:
@rustbot secondor kickoff a team FCP with@rfcbot fcp $RESOLUTION.You can read more about Major Change Proposals on forge.