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 upTeach rustc --emit=mir #39891
Conversation
rust-highfive
assigned
nikomatsakis
Feb 16, 2017
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
shepmaster
force-pushed the
shepmaster:emit-mir
branch
from
ac66a98
to
7e7e5da
Feb 16, 2017
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
So this seems to fall under a broad category of options that we currently confine to I sort of suspect that such a family of options should have their own header (rather like |
This comment has been minimized.
This comment has been minimized.
This seems like a reasonable categorization.
Absolutely.
This makes sense to me
I suspect I fall into the target group of that "primarily" |
This comment has been minimized.
This comment has been minimized.
|
We could probably find a better name for |
This comment has been minimized.
This comment has been minimized.
|
@eddyb seems reasonable to me. I'm also not opposed to using |
This comment has been minimized.
This comment has been minimized.
|
So I was looking into
Is that then the right option? Does it matter if we mix "tool"-targeting things from "human"-targeting things under one option? It feels like it will encourage misuse, but perhaps not. |
This comment has been minimized.
This comment has been minimized.
|
FWIW |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton I definitely agree |
This comment has been minimized.
This comment has been minimized.
|
Or maybe those things aren't especially stable either? |
This comment has been minimized.
This comment has been minimized.
|
I'd personally be ok with a giant header comment saying "THIS OUTPUT IS NOT STABLE IT'S JUST MEANT FOR DEBUGGING, IT WILL CHANGE WITHOUT NOTIFICATION" or something like that. |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton where would such a comment go? Would it apply to all the things that Right now the full list shows up in |
This comment has been minimized.
This comment has been minimized.
|
Oh sorry I misread what you preferred. I assumed that you preferred If you prefer |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton oh, like, put it in the output itself? That's...kind of a good idea. =) |
This comment has been minimized.
This comment has been minimized.
|
Just add something like to the front:
Regarding |
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis precisely yeah (that's what I was thinking) |
shepmaster
force-pushed the
shepmaster:emit-mir
branch
2 times, most recently
from
fb8f280
to
476a1b9
Mar 3, 2017
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton I actually really like that =) |
nikomatsakis
added
the
T-compiler
label
Mar 3, 2017
This comment has been minimized.
This comment has been minimized.
|
@rfcbot fcp merge I propose we adopt @alexcrichton's suggestion here, and support |
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Mar 3, 2017
•
|
Team member @nikomatsakis has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once these reviewers reach consensus, this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
shepmaster
force-pushed the
shepmaster:emit-mir
branch
from
476a1b9
to
1e8afde
Mar 4, 2017
This comment has been minimized.
This comment has been minimized.
|
Because I found it equally amusing and informative, I added @nikomatsakis suggested phrasing verbatim. |
rfcbot
added
the
final-comment-period
label
Mar 13, 2017
This comment has been minimized.
This comment has been minimized.
rfcbot
commented
Mar 13, 2017
|
|
This comment has been minimized.
This comment has been minimized.
|
|
shepmaster
force-pushed the
shepmaster:emit-mir
branch
from
1e8afde
to
00ba48c
Mar 21, 2017
This comment has been minimized.
This comment has been minimized.
|
Nothing scarier than your little ol' PR getting a merge conflict from a hulking |
This comment has been minimized.
This comment has been minimized.
|
To prevent tools from using this you could put spaces/dots/underscores at random places. |
This comment has been minimized.
This comment has been minimized.
|
@bjorn3 Any half-decent lexer can remove extra spaces, and if it impedes a lexer, it also does humans. |
This comment has been minimized.
This comment has been minimized.
shepmaster
force-pushed the
shepmaster:emit-mir
branch
from
00ba48c
to
e341a94
Mar 21, 2017
shepmaster
added some commits
Feb 16, 2017
shepmaster
force-pushed the
shepmaster:emit-mir
branch
from
e341a94
to
4ddedf7
Mar 22, 2017
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis thank you for the heads up. The build is green again. |
This comment has been minimized.
This comment has been minimized.
|
Mm I'm going to r+ even though the FCP has not yet expired. I think we've had enough time here. |
This comment has been minimized.
This comment has been minimized.
|
@bors r+ |
This comment has been minimized.
This comment has been minimized.
|
|
shepmaster commentedFeb 16, 2017
•
edited
I'm opening this PR to discuss:
I'm sure people will have opinions on both points!
This spawned from #31847 (comment), so I figured a prototype implementation could help provide a seed to talk about.