Uh oh!
There was an error while loading. Please reload this page.
resolve: Populate external modules in more automatic and lazy way - #63149
Conversation
petrochenkov
commented
Jul 30, 2019
@bors try |
bors
commented
Jul 30, 2019
resolve: Populate external modules in more automatic and lazy way So, resolve had this function `populate_module_if_necessary` for loading module children from other crates from metadata. I never really understood when it should've been called and when not. This PR removes the function and loads the module children automatically on the first access instead. r? @eddyb
petrochenkov
commented
Jul 31, 2019
Hmm, no notification, but looks like the build completed successfully. |
rust-timer
commented
Jul 31, 2019
Success: Queued ac89e03 with parent f690098, comparison URL. |
rust-timer
commented
Jul 31, 2019
Finished benchmarking try commit ac89e03, comparison URL. |
petrochenkov
commented
Jul 31, 2019
Ok, perf looks mostly like a noise, but the change still makes sense logically. |
wirelessringo
commented
Aug 9, 2019
Ping from triage. @eddyb any updates on this? Thanks. |
eddyb
commented
Aug 9, 2019
@bors r+ |
bors
commented
Aug 9, 2019
📌 Commit cbaf397804be470b1fec12c5bfe0c7edcd923199 has been approved by |
bors
commented
Aug 9, 2019
⌛ Testing commit cbaf397804be470b1fec12c5bfe0c7edcd923199 with merge 047f9faa888b1117a85cbce106d866273c80008a... |
bors
commented
Aug 9, 2019
💔 Test failed - checks-azure |
rust-highfive
commented
Aug 9, 2019
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
petrochenkov
commented
Aug 9, 2019
@bors r=eddyb |
bors
commented
Aug 9, 2019
📌 Commit 2cb9207 has been approved by |
resolve: Populate external modules in more automatic and lazy way So, resolve had this function `populate_module_if_necessary` for loading module children from other crates from metadata. I never really understood when it should've been called and when not. This PR removes the function and loads the module children automatically on the first access instead. r? @eddyb
petrochenkov
commented
Aug 11, 2019
No, not a rebase, the previous error was the same. |
Mark-Simulacrum
commented
Aug 11, 2019
(To be clear, I'm not positive that this PR was the cause of that failure, it's just my best guess. Feel free to re-r+ if you feel confident). |
bors
commented
Aug 12, 2019
☔ The latest upstream changes (presumably #63489) made this pull request unmergeable. Please resolve the merge conflicts. |
petrochenkov
commented
Aug 15, 2019
Span changes causing issues with diagnostics reproducibility are backed out. @bors r=eddyb |
bors
commented
Aug 15, 2019
📌 Commit 4331bf51c440d1d8a862d0777a0984ecf488851c has been approved by |
bors
commented
Aug 16, 2019
☔ The latest upstream changes (presumably #63627) made this pull request unmergeable. Please resolve the merge conflicts. |
The modules are now populated implicitly on the first access
Move some code into `build_reduced_graph.rs` to keep `BuildReducedGraphVisitor` it private Also move the def collector call to `build_reduced_graph.rs`, it belongs there.
petrochenkov
commented
Aug 16, 2019
@bors r=eddyb |
bors
commented
Aug 16, 2019
📌 Commit 5e47cd4 has been approved by |
resolve: Populate external modules in more automatic and lazy way So, resolve had this function `populate_module_if_necessary` for loading module children from other crates from metadata. I never really understood when it should've been called and when not. This PR removes the function and loads the module children automatically on the first access instead. r? @eddyb
resolve: Populate external modules in more automatic and lazy way So, resolve had this function `populate_module_if_necessary` for loading module children from other crates from metadata. I never really understood when it should've been called and when not. This PR removes the function and loads the module children automatically on the first access instead. r? @eddyb
Rollup of 6 pull requests Successful merges: - #63149 (resolve: Populate external modules in more automatic and lazy way) - #63545 (Feature gate 'yield $expr?' pre-expansion) - #63548 (Update rustc-demangle to 0.1.16.) - #63558 (Remap paths for proc-macro crates.) - #63641 (add git keyword to submodule comments in config.example.toml) - #63642 (Rename overflowing_{add,sub,mul} intrinsics to wrapping_{add,sub,mul}.) Failed merges: r? @ghost
So, resolve had this function
populate_module_if_necessaryfor loading module children from other crates from metadata.I never really understood when it should've been called and when not.
This PR removes the function and loads the module children automatically on the first access instead.
r? @eddyb