diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-04-07 22:28:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-07 22:28:28 -0400 |
commit | 4232c89c9eb18b32a6e87bfbb46c8d5862f52fb3 (patch) | |
tree | b7123fea70b722157946cca0313c6b03920fde45 /build_extra/rust/rust.gni | |
parent | 3452a10840ef47bb5546969ebe776289c7b095f1 (diff) |
Use -O3 instead of -O (#2070)
As recommended in
https://www.reddit.com/r/rust/comments/balb45/why_is_hypers_max_latency_so_high_in_deno/ekck1ww/
Diffstat (limited to 'build_extra/rust/rust.gni')
-rw-r--r-- | build_extra/rust/rust.gni | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build_extra/rust/rust.gni b/build_extra/rust/rust.gni index 8bd1bc085..cd755d6d3 100644 --- a/build_extra/rust/rust.gni +++ b/build_extra/rust/rust.gni @@ -209,7 +209,10 @@ template("rust_crate") { args += [ "-g" ] } if (is_official_build) { - args += [ "-O" ] + args += [ + "-C", + "opt-level=3", + ] } if (is_test) { args += [ "--test" ] |