-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Remove redundant CompileController
entry points
#34480
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
I could reintroduce the However, I'm not sure if having an entry point here would be useful enough to justify the added complexity -- @nrc what do you think? |
I think it would be nice to have an entry point after expansion and before HIR lowering. I can imagine tools which want to operate on the expanded AST, but don't need the HIR or complete name resolution. |
@nrc Ok, I'll add |
471f36c
to
a1d03f6
Compare
@nrc I rebased and added a commit that reintroduces |
7d86328
to
6c1b582
Compare
@bors: r+ |
📌 Commit 6c1b582 has been approved by |
…rest of name resolution
6c1b582
to
d1e3d62
Compare
@bors r=nrc (fixed the commit message) |
📌 Commit d1e3d62 has been approved by |
⌛ Testing commit d1e3d62 with merge f29f8c2... |
💔 Test failed - auto-win-msvc-64-opt-rustbuild |
@bors: retry On Fri, Jul 1, 2016 at 5:34 AM, bors notifications@github.com wrote:
|
⌛ Testing commit d1e3d62 with merge 2ce10f5... |
💔 Test failed - auto-win-msvc-64-opt-rustbuild |
@bors retry |
Remove redundant `CompileController` entry points Remove the `after_expand` and `after_write_deps` `CompileController` entry points. The only things that separate these entry points from `after_hir_lowering` are dep-info generation and HIR map construction, neither of which is computationally intensive or has the potential to error. r? @nrc
Remove the
after_expand
andafter_write_deps
CompileController
entry points.The only things that separate these entry points from
after_hir_lowering
are dep-info generation and HIR map construction, neither of which is computationally intensive or has the potential to error.r? @nrc