Skip to content

Commit ec3ae16

Browse files
authored
Add Cargo production profile for release CI (#71)
1 parent 6d213d3 commit ec3ae16

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,10 @@ sp-keyring = { version = "46.0.0", default-features = false }
140140
sp-keystore = { version = "0.46.0", default-features = false }
141141

142142
[profile.release]
143+
opt-level = 3
143144
panic = "unwind"
145+
146+
[profile.production]
147+
inherits = "release"
148+
lto = true
149+
codegen-units = 1

0 commit comments

Comments
 (0)