Skip to content

avoid cycles in mir-dump, take 2 - #42017

Merged
bors merged 4 commits into
rust-lang:masterfrom
nikomatsakis:issue-41677
May 17, 2017
Merged

avoid cycles in mir-dump, take 2#42017
bors merged 4 commits into
rust-lang:masterfrom
nikomatsakis:issue-41677

Conversation

@nikomatsakis

Copy link
Copy Markdown
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
Copy Markdown
Contributor

r? @pnkfelix

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

@arielb1

Copy link
Copy Markdown
Contributor

Can't you do a mir-opt test?

@nikomatsakis

Copy link
Copy Markdown
ContributorAuthor

@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
Copy Markdown
Contributor

@bors r+

@bors

bors commented May 16, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit c9f9bc2 has been approved by arielb1

@nikomatsakisnikomatsakis 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 fixesrust-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:masterMay 17, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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

@nikomatsakis@rust-highfive@arielb1@bors@pnkfelix