Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upForbid the -Z compiler flags from being used in beta and stable releases #24971
Comments
bstrie
added
A-driver
I-nominated
labels
Apr 30, 2015
This comment has been minimized.
This comment has been minimized.
|
cc @aturon |
This comment has been minimized.
This comment has been minimized.
|
I would prefer we remove |
This comment has been minimized.
This comment has been minimized.
|
Don't we deliberately have a |
This comment has been minimized.
This comment has been minimized.
|
@nrc the proposal of this issue, as I interpreted it, was that all (I guess we could do something funky like require that you pass |
This comment has been minimized.
This comment has been minimized.
|
The intention was to allow |
This comment has been minimized.
This comment has been minimized.
|
triage decision: Not going to block 1.0 release on doing this. And maybe we will not do it at all -- we are a little worried about de-facto stabilization of |
pnkfelix
removed
the
I-nominated
label
Apr 30, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: P-medium |
rust-highfive
added
the
P-medium
label
Apr 30, 2015
This comment has been minimized.
This comment has been minimized.
|
I just read a blog post today where somebody is building Rust on ARM with |
This comment has been minimized.
This comment has been minimized.
|
@bstrie do you think it would make any difference if use of any |
This comment has been minimized.
This comment has been minimized.
|
@pnkfelix I'm unsure of how to proceed at this point, given that 1.0 has shipped. I think at some point we need to sit down and have a good look at all the flags that the compiler accepts and decide the fate of each, because that wasn't something we got around to before 1.0. Basically do what aturon and acrichto did for all the stdlib APIs in 1.0-beta. |
brson
added
the
A-stability
label
Aug 4, 2016
This comment has been minimized.
This comment has been minimized.
|
Closing in favor of #31847 |
bstrie commentedApr 30, 2015
#19051 is the metabug for compiler flag stability, but that bug does not put forward a policy for the inclusion of compiler flags that are explicitly unstable. As per our policy for feature gates, we should prevent the unstable flags behind -Z from being used in beta and stable releases. The rationale is the same: given an interface, users will end up relying on it (especially with such an innocuous name as "-Z" to provide no warning as to its instability), and they will be peeved when it breaks.
I see no downside to removing these flags from the beta and stable releases. If this causes a groundswell of demand for a certain flag in the stable release, then that is an argument to stabilize it (and by failing to remove it from the stable releases, we are denying ourselves the feedback of which flags are useful).