1
0

Revert decimal rounding order, fix profile settings (#4314)

* Revert rounding post subtraction in GET balance

* Switch to panic = "unwind" in release mode

* Use profile 'release-labrinth'

* Fix target path
This commit is contained in:
François-Xavier Talbot
2025-09-01 15:59:09 +01:00
committed by GitHub
parent 3d80201112
commit 8aede4e082
3 changed files with 10 additions and 3 deletions

View File

@@ -231,5 +231,10 @@ lto = true # Enables link to optimizations
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
# Specific profile for labrinth production builds
[profile.release-labrinth]
inherits = "release"
panic = "unwind" # Don't exit the whole app on panic in production
[profile.dev.package.sqlx-macros]
opt-level = 3