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

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.

主站蜘蛛池模板: 阳信县| 工布江达县| 灵川县| 惠州市| 高阳县| 青川县| 门源| 时尚| 尉氏县| 什邡市| 前郭尔| 三门县| 贵州省| 潞西市| 大埔区| 巴彦淖尔市| 西峡县| 仪陇县| 香河县| 莒南县| 广元市| 万宁市| 宁蒗| 嘉义县| 仁布县| 宿州市| 积石山| 当阳市| 尚义县| 平昌县| 桦川县| 若羌县| 丘北县| 桓台县| 中方县| 巴彦淖尔市| 香格里拉县| 安新县| 永福县| 安国市| 当涂县|