-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
28x binary size regression in recent nightly #85519
Comments
This seems to have been noticed here as well: rust-osdev/bootloader#168 Edit: Fixed link to Edit 2: This also indicates you can work-around the regression by manually passing |
it's very likely #85274, since adding |
Is the linker for this target guaranteed to be gnu ld? Doesn't sound like something that we can claim, can we? It does look like we default to |
We do default to LLD, which can also garbage-collect unused sections |
Yeah, I was just wondering if we should expand our logic around when we specify the |
Yeah, in practice I don't think anyone uses a non-GNU-compatible linker there |
It may make sense to set the default for |
If the default is not flipped then |
There seems to be a significant regression in binary size in the most recent nightly:
nightly-2021-05-19
nightly-2021-05-20
Steps to reproduce:
thumbv6m-none-eabi
targetcargo build
size target/thumbv6m-none-eabi/debug/hello
Commits in that range: 4e3e6db...f94942d
#85274 looks suspicious (cc @luqmana)
The text was updated successfully, but these errors were encountered: