-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-C target-cpu=native
#14
Comments
But beware of codegen bug which occasionally happened. |
Also can you measure it? |
I haven't heard of any issues with codegen, but I may just not be aware. I'm not sure where this would be inserted, which would obviously affect the measurement. It's relatively trivial to do so, however. |
Like this: rust-lang/rust#63791 |
That's closed as fixed. Bugs happen in the compiler, that's not terribly surprising. |
I just want to add a small note to raise awareness for using |
And this one may seems serious: rust-lang/rust#64609 |
By using
RUSTFLAGS="-C target-cpu=native"
, the resulting binary will be far less portable, but it can reduce the binary size a fair amount.The text was updated successfully, but these errors were encountered: