Browse Source

Change default opt-level for Config to `speed`.

This commit changes the default opt-level for a new `Config` to `speed`.

Fixes #981.
pull/988/head
Peter Huene 5 years ago
parent
commit
70275a2a1d
No known key found for this signature in database GPG Key ID: E1D265D820213D6A
  1. 5
      crates/api/src/runtime.rs

5
crates/api/src/runtime.rs

@ -46,6 +46,11 @@ impl Config {
.set("enable_verifier", "false")
.expect("should be valid flag");
// Turn on cranelift speed optimizations by default
flags
.set("opt_level", "speed")
.expect("should be valid flag");
Config {
debug_info: false,
validating_config: ValidatingParserConfig {

Loading…
Cancel
Save