From 4bc2898e46b58a5eff9b91bc3af8ca41b99599da Mon Sep 17 00:00:00 2001 From: Denys Zadorozhnyi Date: Tue, 2 Jul 2024 17:48:25 +0300 Subject: [PATCH] chore: build `expect-test` with release profile to speed up diffs --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 3fd856b9..4a8bd0ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -106,3 +106,11 @@ opt-level = 3 [profile.test.package.rand_chacha] opt-level = 3 + +# Build `expect-test` with release optimizations even in dev mode to speed up the diffing +[profile.dev.package.expect-test] +opt-level = 3 + +# Build `dissimilar` with release optimizations even in dev mode to speed up the diffing +[profile.dev.package.dissimilar] +opt-level = 3 \ No newline at end of file