From fd482b76315338eb2b5658844a6e5e270d0d728e Mon Sep 17 00:00:00 2001 From: Sid Mohan <61345237+sidmohan0@users.noreply.github.com> Date: Fri, 20 Nov 2026 16:11:05 -0800 Subject: [PATCH] Optimize recovery and zeroization in the Rust test profile --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5102515a..e750b896 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,11 @@ members = [ "bindings/wasm", ] resolver = "2" + +# The recovery boundary test repeatedly wipes large buffers. Optimize both the +# caller and zeroize's concrete implementations while retaining test assertions. +[profile.test.package.datafog-core] +opt-level = 1 + +[profile.test.package.zeroize] +opt-level = 3