From 0c125d08663ab7c6026d4d4826c75c8a5c962aec Mon Sep 17 00:00:00 2001 From: Emilia Allison Date: Sat, 2 Nov 2024 17:28:23 -0500 Subject: [PATCH] fix: Attempt to get better optimization from compiler --- plate-tool-web/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plate-tool-web/Cargo.toml b/plate-tool-web/Cargo.toml index be56c53..f6967aa 100644 --- a/plate-tool-web/Cargo.toml +++ b/plate-tool-web/Cargo.toml @@ -28,3 +28,9 @@ rand = { version = "0.8", features = ["small_rng"] } [dev-dependencies] wasm-bindgen-test = "0.3.0" + +[profile.release] +opt-level = 2 + +[profile.dev.package."*"] +opt-level = 2