Skip to content

Commit 6339139

Browse files
authored
ci: optimize release compilation profile (#1821)
Signed-off-by: ozkanonur <[email protected]> Reviewed-by: shamardy <[email protected]>
1 parent fbe9f16 commit 6339139

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- PoC for ETH/UTXO and ERC20/UTXO swaps with rewards
1313
- Improved protocol to let only the taker pay the reward
1414
- Add passive parent coin state for keeping tokens active when platform is disabled [#1763](https://github.com/KomodoPlatform/atomicDEX-API/pull/1763)
15+
- Optimize release compilation profile for mm2 [#1821](https://github.com/KomodoPlatform/atomicDEX-API/pull/1821)
1516
- Detect a chain reorganization, if it occurs, redownload and revalidate the new best chain headers for SPV [#1728](https://github.com/KomodoPlatform/atomicDEX-API/pull/1728)
1617
- Fix moralis request in wasm target, add moralis tests [#1817](https://github.com/KomodoPlatform/atomicDEX-API/pull/1817)
1718

Cargo.toml

+3-8
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ exclude = [
4949
resolver = "2"
5050

5151
[profile.release]
52-
debug = 1
52+
debug = 0
53+
debuginfo = 0
5354
debug-assertions = false
54-
# For some reason, opt-level 3 started causing infinite Windows builds after Cosmos integration
55-
# TODO troubleshoot it
56-
opt-level = 2
55+
opt-level = 3
5756
# strip = true
5857
codegen-units = 1
5958
# lto = true
@@ -63,10 +62,6 @@ panic = "abort"
6362
# required to avoid a long running process of librustcash additional chain validation that is enabled with debug assertions
6463
debug-assertions = false
6564

66-
[profile.release.overrides."*"]
67-
# Turns debugging symbols off for the out-of-workspace dependencies.
68-
debug = false
69-
7065
[profile.dev]
7166
opt-level = 0
7267
debug = 1

0 commit comments

Comments
 (0)