Skip to content

Conversation

@nikomatsakis
Copy link
Contributor

This fixes #41697, for real this time, but I'm not sure how best to add a regression test. I was considering maybe adding some flag so that the MIR dumping doesn't actually get written to files (e.g., overloading the directory flag so you can specify nil or something).

cc @dwrensha @oli-obk

@rust-highfive
Copy link
Contributor

r? @pnkfelix

(rust_highfive has picked a reviewer for you, use r? to override)

@arielb1
Copy link
Contributor

arielb1 commented May 15, 2017

Can't you do a mir-opt test?

@nikomatsakis
Copy link
Contributor Author

@arielb1 hmm perhaps so :) I had added some further hacks (which I didn't yet push), but that's a way simpler idea...

@arielb1
Copy link
Contributor

arielb1 commented May 16, 2017

@bors r+

@bors
Copy link
Collaborator

bors commented May 16, 2017

📌 Commit c9f9bc2 has been approved by arielb1

@nikomatsakis nikomatsakis added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 16, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request May 16, 2017
avoid cycles in mir-dump, take 2

This fixes rust-lang#41697, for real this time, but I'm not sure how best to add a regression test. I was considering maybe adding some flag so that the MIR dumping doesn't actually get written to files (e.g., overloading the directory flag so you can specify nil or something).

cc @dwrensha @oli-obk
bors added a commit that referenced this pull request May 17, 2017
Rollup of 5 pull requests

- Successful merges: #41937, #41957, #42017, #42039, #42046
- Failed merges:
@bors bors merged commit c9f9bc2 into rust-lang:master May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in -Z dump-mir=all

5 participants