mirror of https://github.com/status-im/rln.git
add profile cfg
This commit is contained in:
parent
b1f1d161c1
commit
63c14ea4a6
23
Cargo.toml
23
Cargo.toml
|
@ -32,6 +32,27 @@ js-sys = "0.3.37"
|
|||
wasm-bindgen-test = "0.3"
|
||||
|
||||
[profile.release]
|
||||
# Tell `rustc` to optimize for small code size.
|
||||
opt-level = 3
|
||||
lto = "thin"
|
||||
incremental = true
|
||||
|
||||
# build all our deps in release mode
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
||||
[profile.bench]
|
||||
opt-level = 3
|
||||
debug = false
|
||||
rpath = false
|
||||
lto = "thin"
|
||||
incremental = true
|
||||
debug-assertions = false
|
||||
|
||||
|
||||
[profile.test]
|
||||
opt-level = 3
|
||||
incremental = true
|
||||
debug-assertions = true
|
||||
debug = true
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue