-
Notifications
You must be signed in to change notification settings - Fork 13.3k
-Zthreads
changes compiled binary
#117635
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
(note: the default is |
I cannot reproduce this with |
@matthiaskrgr do you have global flags / cargo configs, that would be turned off when manually overriding |
OOoh yes, I totally forgot I had RUSTFLAGS="-march=native" exported via my bash rc. :D |
I was already wondering why I could not reproduce this when calling rustc via a script (where RUSTFLAGS is always overridden...) lol Sorry for the noise :D |
reproducible with both
cargo
andoxipng
cargo build --release
=>
1816 target/release/oxipng
(du -sk
)RUSTFLAGS="-Zthreads=1" cargo build --release
=>
1692 target/release/oxipng
seems that Zthreads on/off has an effect on the generated binary 🤔
The text was updated successfully, but these errors were encountered: