Skip to content

Commit

Permalink
Use -O3 instead of -O (denoland#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Apr 8, 2019
1 parent 3452a10 commit 4232c89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_extra/rust/rust.gni
Expand Up @@ -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" ]
Expand Down

0 comments on commit 4232c89

Please sign in to comment.