-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Make -O
mean OptLevel::Aggressive
#135439
base: master
Are you sure you want to change the base?
Conversation
@bors try |
[EXPERIMENTAL] Make `-O` mean `OptLevel::Aggressive` Just out of curiosity to see if anything is relying on this r? ghost
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
Will keep this open in case rust-lang/compiler-team#828 merges |
-O
mean OptLevel::Aggressive
-O
mean OptLevel::Aggressive
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 This PR modifies cc @jieyouxu Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred in compiler/rustc_codegen_gcc |
Aggressive, // -O3 | ||
Size, // -Os | ||
SizeMin, // -Oz | ||
/// `-O0` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// `-O0` | |
/// `-Copt-level=0` |
these flags do not exist, let's name them correctly
Just out of curiosity to see if anything is relying on thisMCP: rust-lang/compiler-team#828
This also renames
OptLevel::Default
toOptLevel::More
, asDefault
no longer makes senser? ghost