mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 09:10:40 -05:00
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/
This commit is contained in:
parent
3452a10840
commit
4232c89c9e
1 changed files with 4 additions and 1 deletions
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue