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 upAllow registering MIR-passes through compiler plugins #31425
Conversation
rust-highfive
assigned
nagisa
Feb 5, 2016
This comment has been minimized.
This comment has been minimized.
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nagisa (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
This comment has been minimized.
This comment has been minimized.
|
This looks okay to me. EDIT: r=me once the dependency lands/is r+d. |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Rebase? |
oli-obk
added some commits
Feb 5, 2016
oli-obk
force-pushed the
oli-obk:mir-pass-plugin
branch
from
239a313
to
4b06718
Feb 9, 2016
This comment has been minimized.
This comment has been minimized.
|
done |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 9, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
no clue where that error came from:
|
This comment has been minimized.
This comment has been minimized.
|
@bors retry Seems spurious to me: the error message is 2 different error messages interleaved which makes the actual error we’re looking for invalid. |
This comment has been minimized.
This comment has been minimized.
|
@bors retry |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 9, 2016
This comment has been minimized.
This comment has been minimized.
bors
merged commit 4b06718
into
rust-lang:master
Feb 9, 2016
This was referenced Feb 9, 2016
This comment has been minimized.
This comment has been minimized.
|
What is the motivation for this? It would be nice if changes like this could get some discussion - an internals thread, or even an issue being opened beforehand. I feel we have been burnt by llvm plugin passes and don't want to repeat that experience. At the very least this facility should be documented. |
oli-obk
deleted the
oli-obk:mir-pass-plugin
branch
Feb 10, 2016
This comment has been minimized.
This comment has been minimized.
|
Sorry about that. Discussion start: https://internals.rust-lang.org/t/mir-compiler-plugins-for-custom-mir-passes/3166 |
oli-obk commentedFeb 5, 2016
depends on #31324
r? @nagisa