-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.I-heavyIssue: Problems and improvements with respect to binary size of generated code.Issue: Problems and improvements with respect to binary size of generated code.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
There seems to be a significant regression in binary size in the most recent nightly:
nightly-2021-05-19
$ size target/thumbv6m-none-eabi/debug/hello
text data bss dec hex filename
6056 48 1032 7136 1be0 target/thumbv6m-none-eabi/debug/hello
nightly-2021-05-20
$ size target/thumbv6m-none-eabi/debug/hello
text data bss dec hex filename
201372 48 1032 202452 316d4 target/thumbv6m-none-eabi/debug/hello
Steps to reproduce:
- Clone https://github.com/jonas-schievink/size-regression
- Install
thumbv6m-none-eabi
target - Run
cargo build
size target/thumbv6m-none-eabi/debug/hello
Commits in that range: 4e3e6db...f94942d
Dirbaio and luqmana
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.I-heavyIssue: Problems and improvements with respect to binary size of generated code.Issue: Problems and improvements with respect to binary size of generated code.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.