未验证 提交 5401cb76 编写于 作者: B Bert Belder

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 4232c89c.
上级 e939ec0f
......@@ -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" ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册