Add a "mini" build profile
It's like release, but with LTO and LLVM's `-Oz` size optimization.
This commit is contained in:
@@ -27,6 +27,14 @@ opt-level = 3
|
||||
# codegen-units = 1
|
||||
lto = "fat"
|
||||
|
||||
[profile.mini]
|
||||
inherits = "release"
|
||||
lto = true
|
||||
opt-level = "z"
|
||||
codegen-units = 1
|
||||
strip = "symbols"
|
||||
panic = "abort"
|
||||
|
||||
[profile.wasm-release]
|
||||
inherits = "release"
|
||||
opt-level = "z"
|
||||
|
||||
Reference in New Issue
Block a user