-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Binary size creep on Fuchsia after commit 5ced3da #127039
Comments
The rustc-perf result for #125853 is neutral. Also the code there doesn't change any behaviors in mir tests. Edit: If you want, I could open a try PR to revert suspicious c036594 which I think could be the most responsible in #125853. @rustbot label +E-needs-mcve |
Interesting. I've double-checked the bisection and am confident this is the commit after which we observe the size creep. That said, I have no theory of the case for why this is occurring, so I may just be engaging in a post hoc ergo propter hoc fallacy. If the perf result is neutral, that's good evidence that something else may be responsible. If it's not too much trouble, please open the try PR to see if that sheds more light on what's going on. Note that this is not a blocker for Fuchsia; we just wanted to alert you that we had observed the size creep. |
Btw, how did you build rustc on fuchsia ? Did you enable tracing facility ? Line 507 in 036b38c
I asked because in the mentioned PR, I changed some tracing level. |
The tracing level could maybe impact rustc's size but not the produced binaries size 🤔 . Similarly, a What could be interesting though is the simplest way to execute the "binary size creep check", and then we could try it within the fuchsia docker image. |
@amanda-tait @erickt @tmandry @djkoloski @P1n3appl3 #124032 landed a few PRs before #125853 and definitely had binary size increases, did your size checks also flag that one up? |
@rustbot label -needs-triage +O-fuchisa +T-compiler +I-heavy |
After bors rolled commit 5ced3da, Fuchsia's canaries began failing their binary size creep checks. See attached screenshot. It's non-obvious why this change would impact codegen on Fuchsia, but I wanted to alert the rust-lang project and commit author that this has occurred.
cc: @tesuji @erickt
The text was updated successfully, but these errors were encountered: