Skip to content

-Zthreads changes compiled binary #117635

Description

@matthiaskrgr
rustc 1.75.0-nightly (e1fcecb1b 2023-11-06)
binary: rustc
commit-hash: e1fcecb1b9930f109a8c1cf2b690e03483a41289
commit-date: 2023-11-06
host: x86_64-unknown-linux-gnu
release: 1.75.0-nightly
LLVM version: 17.0.4

reproducible with both cargo and oxipng

  1. cargo build --release
    => 1816 target/release/oxipng (du -sk)
  2. RUSTFLAGS="-Zthreads=1" cargo build --release
    => 1692 target/release/oxipng

seems that Zthreads on/off has an effect on the generated binary 🤔

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions