#[non_exhaustive]
pub enum OptLevel {
None,
Speed,
SpeedAndSize,
}
Expand description
Possible optimization levels for the Cranelift codegen backend.
This enum is marked as non-exhaustiveNon-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§No optimizations performed, minimizes compilation time by disabling most optimizations.
§Generates the fastest possible code, but may take longer.
§Similar to speed
, but also performs transformations aimed at reducing code size.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4