From 795be560e68c5ef962cd0ba5fc4a7ebf6a23fccd Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Mon, 29 Apr 2024 20:31:48 +0300 Subject: [PATCH] Add Cargo profile for ls-sdk-flutter scripts --- lib/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index d83960d..7a6386c 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,9 +1,14 @@ [profile.release] -lto = true +lto = "thin" opt-level = "z" codegen-units = 1 panic = "abort" rpath = true +strip = "symbols" + +[profile.min] +inherits = "release" +lto = true [workspace] members = [