From 24ea122a441303c84c189dfd46c998a63594be85 Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Mon, 20 Nov 2023 00:54:17 +0900 Subject: [PATCH] Minor optimization flags --- common/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/Cargo.toml b/common/Cargo.toml index dd3b0a2d..cba84ed3 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -10,5 +10,9 @@ resolver = "2" insta.opt-level = 3 similar.opt-level = 3 +[profile.release] +lto = "thin" +opt-level = "s" + [workspace.dependencies] uniffi = { git = "https://github.com/mozilla/uniffi-rs/", rev = "41e3f953ed6e3d8e10cde262dd269b683ac49f0e" } \ No newline at end of file