From 5401cb76304ae8d3e8896f6020ba4ef25bac0bba Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 29 Aug 2019 00:24:06 -0700 Subject: Revert "Use -O3 instead of -O (#2070)" It didn't deliver the expected performance improvements, so let's go back and use Rust defaults again. This reverts commit 4232c89c9eb18b32a6e87bfbb46c8d5862f52fb3. --- build_extra/rust/rust.gni | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build_extra/rust') diff --git a/build_extra/rust/rust.gni b/build_extra/rust/rust.gni index 01f1b8a49..28d606a1c 100644 --- a/build_extra/rust/rust.gni +++ b/build_extra/rust/rust.gni @@ -253,10 +253,7 @@ template("_rust_crate") { args += [ "-g" ] } if (is_official_build) { - args += [ - "-C", - "opt-level=3", - ] + args += [ "-O" ] } if (is_test) { args += [ "--test" ] -- cgit v1.2.3