Skip to content

Binaries built with 1.21.0 are 5x the size of those from 1.20.0 #46150

Closed
@saarw

Description

@saarw

We are building a library on Mac/Linux/Windows that ends up being ~2 MB when built with Rust 1.20 and Rust 1.19, but when I am building it with Rust 1.21.0 or nightly, the library becomes ~10 MB.

In both cases I'm building with "cargo build --release"

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions