From 7fd2085996f84e534a78c867bd07b53f3e492d3f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 1 Apr 2022 23:08:17 +0100 Subject: [PATCH] Turn on integer overflow checks for release builds Signed-off-by: Ian Jackson --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f5c675aa..f6f4efbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,9 @@ authors=["Ian Jackson ", [workspace] members=["cli", "wasm", "daemon", "wdriver", "apitest", "jstest"] +[profile.release] +overflow-checks = true + [build-dependencies] usvg="0.22" bundle-sources="0.0.1" -- 2.30.2