-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
check_const: use the same ParamEnv as codegen for statics #52925
Conversation
@bors r+ papers over a recent compile time regression. We're figuring out a nice fix. Until then, this should do it. |
📌 Commit 222dd17 has been approved by |
@bors r- |
@bors try |
@rust-timer build daf753a |
Success: Queued daf753a with parent e94df4a, comparison URL. |
☀️ Test successful - status-travis |
perf seems to say it definitely helps. As expected, |
@bors r+ |
📌 Commit 222dd17 has been approved by |
check_const: use the same ParamEnv as codegen for statics Fixes at least part of rust-lang#52849 (my CTFE-stress benchmark). Note that I do not know what I am doing here, this is just based on hints from @oli-obk. r? @oli-obk
check_const: use the same ParamEnv as codegen for statics Fixes at least part of rust-lang#52849 (my CTFE-stress benchmark). Note that I do not know what I am doing here, this is just based on hints from @oli-obk. r? @oli-obk
☀️ Test successful - status-appveyor, status-travis |
Nominating for beta as it partially addresses the perf regression in #52849 (comment) |
Backported in #53825 |
Fixes at least part of #52849 (my CTFE-stress benchmark). Note that I do not know what I am doing here, this is just based on hints from @oli-obk.
r? @oli-obk