Repository navigation
Add regression test for binary size regression in derive(Debug) - #166625
panstromek wants to merge 1 commit into
Conversation
This comment has been minimized.
This comment has been minimized.
|
I guess we ignore arm then? 😆 66928 is suspiciously big, though, I wonder what's happening there |
|
Locally the aarch64 test fails with Overall I think binary size is really difficult to pin down in a reliable, cross-platform way. Maybe it makes more sense to measure the size of the generated MIR/LLVM IR? |
|
I think checking MIR or LLVM IR would be too early, this code is eliminated further down the line, maybe even during link-time (I'm not exactly sure now). Maybe we should limit this to x64 Linux then, where we know it works. I don't think we need to do it perfectly for now, I just want start somewhere. Right now there's no signal about this at all, so one test for one platform is at least something. |
99a55de to
aa19a9a
Compare
|
I restricted this to Linux x86-64 for now. |
|
@bors try jobs=test-various Just to check if there is anything weird in our CI (musl maybe?) |
This comment has been minimized.
This comment has been minimized.
Add regression test for binary size regression in derive(Debug) try-job: test-various
|
💔 Test for 39c1a52 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
aa19a9a to
6ff0a43
Compare
|
@rustbot ready |
Regression test for #165189
closes #165189
This is a first time I'm adding a test like this, so there are two things I'm not sure about:
r? folkertdev