From 38124c798011d525ddb32736f6f4f3709a49f89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Fri, 14 Apr 2023 07:37:27 +0100 Subject: [PATCH 1/2] cargo: enable overflow-checks in release build --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 8482060714..5b1902108b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,3 +60,4 @@ funty = { git = "https://github.com/bitvecto-rs/funty/", rev = "7ef0d890fbcd8b3d lto = true opt-level = 3 panic = "unwind" +overflow-checks = true From f3249e7317aa7e297ea754c22f3ba550d3fb1317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Fri, 14 Apr 2023 07:39:30 +0100 Subject: [PATCH 2/2] changelog: #1295 --- .../unreleased/miscellaneous/1295-overflow-check-in-release.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changelog/unreleased/miscellaneous/1295-overflow-check-in-release.md diff --git a/.changelog/unreleased/miscellaneous/1295-overflow-check-in-release.md b/.changelog/unreleased/miscellaneous/1295-overflow-check-in-release.md new file mode 100644 index 0000000000..b0afa99268 --- /dev/null +++ b/.changelog/unreleased/miscellaneous/1295-overflow-check-in-release.md @@ -0,0 +1,2 @@ +- Enabled integer overflow checks in release build. + ([#1295](https://github.com/anoma/namada/pull/1295)) \ No newline at end of file