From 84f382170315a6af93b38876da976d1f692f3454 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 8 Apr 2023 18:50:35 +0800 Subject: [PATCH] add size opt --- libs/Difficult_Rocket_rs/src/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/Difficult_Rocket_rs/src/Cargo.toml b/libs/Difficult_Rocket_rs/src/Cargo.toml index 86d4388..923e410 100644 --- a/libs/Difficult_Rocket_rs/src/Cargo.toml +++ b/libs/Difficult_Rocket_rs/src/Cargo.toml @@ -14,6 +14,8 @@ crate-type = ["cdylib"] opt-level = 3 [profile.release] +strip = true +opt-level = "s" codegen-units = 1 #[dependencies.quick-xml]