未验证 提交 4232c89c 编写于 作者: R Ryan Dahl 提交者: GitHub
上级 3452a108
...@@ -209,7 +209,10 @@ template("rust_crate") { ...@@ -209,7 +209,10 @@ template("rust_crate") {
args += [ "-g" ] args += [ "-g" ]
} }
if (is_official_build) { if (is_official_build) {
args += [ "-O" ] args += [
"-C",
"opt-level=3",
]
} }
if (is_test) { if (is_test) {
args += [ "--test" ] args += [ "--test" ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册