-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
40% of time is spent in phase_4_translate_to_llvm during --crate-type bin --emit=dep-info,metadata #38964
Comments
-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 |
Yes, I'll look into it. There should be no reason to continue with trans after metadata has been written. |
…-meta-crates, r=eddyb trans: Exit earlier from base::trans_crate() when compiling rmeta crates. Fixes rust-lang#38964. r? @eddyb cc @nrc
STR:
Running cargo check on https://github.com/servo/webrender/tree/master/wrench and profiling the last rustc invocation.
@nrc
The text was updated successfully, but these errors were encountered: