官术网_书友最值得收藏!

Profiles

When you run cargo build, cargo build --release, or cargo test, cargo uses profiles to determine individual settings for each stage. While these have reasonable defaults, you might want to customize some settings. The manifest provides these switches with the [profile.dev], [profile.release], [profile.test], and [profile.bench] sections:

[profile.release] 
opt-level = 3
debug = false
rpath = false
lto = false
debug-assertions = false
codegen-units = 16
panic = 'unwind'
incremental = false
overflow-checks = false

These values are the defaults (as of writing this book) and are already useful for most users.

主站蜘蛛池模板: 沙雅县| 祁连县| 宿州市| 花莲市| 进贤县| 卢氏县| 昌邑市| 蓝田县| 托克托县| 沾化县| 渝中区| 凌云县| 宜昌市| 当涂县| 兰坪| 赤峰市| 抚顺县| 永川市| 大名县| 南木林县| 木兰县| 诏安县| 正蓝旗| 九龙城区| 无棣县| 恩平市| 蓬安县| 西畴县| 阆中市| 义乌市| 长乐市| 易门县| 上饶县| 栾城县| 日照市| 吕梁市| 黄陵县| 天等县| 山丹县| 桂阳县| 龙陵县|