17 lines
246 B
TOML
17 lines
246 B
TOML
[profile.release-with-debug]
|
|
inherits = "release"
|
|
debug = true
|
|
|
|
[profile.min-size]
|
|
inherits = "release"
|
|
# gives 1mb
|
|
strip = true
|
|
# gives 0.3mb
|
|
lto = true
|
|
# gives 0.2mb
|
|
panic = "abort"
|
|
# gives 0.5mb
|
|
opt-level = "z"
|
|
# gives 0.1mb
|
|
codegen-units = 1
|