-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Big file size regression on Windows #99143
Copy link
Copy link
Closed
Labels
C-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.P-criticalCritical priorityCritical priorityregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
C-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.P-criticalCritical priorityCritical priorityregression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Binary sizes on the latest nightlies are significantly larger than on stable and some previous nightly versions. This is caused by some extra sections in the binary and also an increase in the text and data sections
Stable (1.62.0):
Nightly (1.64.0-nightly c396bb3):
Code
I tried this code:
I expected to see this happen: small binary size (143 360 bytes on 1.62.0)
Instead, this happened: extremely large binary size (3 517 952 bytes)
Version it worked on
It most recently worked on: Rust 1.64.0 (nightly) ddcbba0
Version with regression
rustc --version --verbose: