加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Cargo.toml 379 Bytes
一键复制 编辑 原始数据 按行查看 历史
David Brown 提交于 2021-08-19 11:06 . sim: Move Cargo package to top level
[workspace]
members = ["sim"]
exclude = ["ptest"]
# The simulator runs very slowly without optimization. A value of 1
# compiles in about half the time, but runs about 5-6 times slower. 2
# and 3 are hardly different in either compile time or performance.
# Use 2 in case that makes the code slightly more debuggable.
[profile.test]
opt-level = 2
[profile.dev]
opt-level = 2
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化