From 971951a1a66014fce5a943b4c78fc24c63187dbb Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Fri, 15 Aug 2025 10:56:28 -0400 Subject: [PATCH] Add overflow-checks even on release, per good practice --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 1aa7602f..06ea12c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -130,6 +130,7 @@ monero-serai = { opt-level = 3 } [profile.release] panic = "unwind" +overflow-checks = true [patch.crates-io] # https://github.com/rust-lang-nursery/lazy-static.rs/issues/201