You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
40% of time is spent in phase_4_translate_to_llvm during --crate-type bin --emit=dep-info,metadata #38964
But we're actually doing quite a lot of work before that, mostly it seems to construct modules. We ought to be able to skip some (hopefully most) of this work. @michaelwoerister has volunteered to try and make that work (thanks!).
Activity
nrc commentedon Jan 12, 2017
-Ztime-passes:
Investigating this, we branch to stop translating here: https://github.com/rust-lang/rust/blob/master/src/librustc_trans/base.rs#L1189
But we're actually doing quite a lot of work before that, mostly it seems to construct
modules. We ought to be able to skip some (hopefully most) of this work. @michaelwoerister has volunteered to try and make that work (thanks!).michaelwoerister commentedon Jan 12, 2017
Yes, I'll look into it. There should be no reason to continue with trans after metadata has been written.