From 84ff75770006e6dec701e9de250fa44410295aa3 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Sun, 12 Apr 2020 10:46:05 +0800 Subject: [PATCH] Cargo.toml: flip real optimizations on Since I don't expect to pull in any more significant dependency, and we are far from running out of the 1MB compressed limitation of code size, we should be perfectly fine flipping this on instead of sticking with optimizing for size --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c10ada5..a8d91cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,6 +61,5 @@ wee_alloc = { version = "0.4.2", optional = true } wasm-bindgen-test = "0.2" [profile.release] -# Tell `rustc` to optimize for small code size. -opt-level = "s" +opt-level = 3 lto = true \ No newline at end of file