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

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.

主站蜘蛛池模板: 临猗县| 尉犁县| 镇远县| 山丹县| 乌鲁木齐县| 梨树县| 商都县| 山东省| 富锦市| 柳林县| 哈尔滨市| 南昌县| 朔州市| 杂多县| 廉江市| 苏州市| 德州市| 香河县| 忻城县| 昌图县| 澄城县| 乐清市| 民和| 静宁县| 阿拉善盟| 德格县| 黎平县| 夹江县| 玉树县| 定西市| 哈密市| 靖安县| 柳州市| 雷波县| 济宁市| 拉孜县| 瑞丽市| 沙湾县| 吴旗县| 岑溪市| 新化县|