mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-01 18:17:25 +00:00
Fix release profile (#4778)
* Add codeden-units=1 ref #4311 * opt-level to 3 * Fix opt-level * Refactor apt-level into the release profile
This commit is contained in:
+7
-5
@@ -117,18 +117,20 @@ exclude = ["bridges/relays/bin-substrate", "bridges/bin/rialto/runtime", "bridge
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
# make sure dev builds with backtrace do
|
||||
# not slow us down
|
||||
[profile.dev.package.backtrace]
|
||||
opt-level = 3
|
||||
|
||||
[profile.release]
|
||||
# Polkadot runtime requires unwinding.
|
||||
panic = "unwind"
|
||||
opt-level = 3
|
||||
|
||||
# make sure dev builds with backtrace do
|
||||
# not slow us down
|
||||
[profile.dev.package.backtrace]
|
||||
inherits = "release"
|
||||
|
||||
[profile.production]
|
||||
inherits = "release"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.testnet]
|
||||
inherits = "release"
|
||||
|
||||
Reference in New Issue
Block a user