diff --git a/.cargo/release-windows-ms.toml b/.cargo/release-windows-ms.toml index 0e5f50a..cd55659 100644 --- a/.cargo/release-windows-ms.toml +++ b/.cargo/release-windows-ms.toml @@ -16,7 +16,7 @@ rustflags = [ # = Huge reduction in binary size by removing all that. [unstable] build-std = ["std", "panic_abort"] -build-std-features = ["panic_immediate_abort"] +build-std-features = ["panic_immediate_abort", "optimize_for_size"] # vvv The following parts are specific to official Windows builds. vvv # (The use of internal registries, security features, etc., are mandatory.) diff --git a/.cargo/release.toml b/.cargo/release.toml index 5d665c6..55bf615 100644 --- a/.cargo/release.toml +++ b/.cargo/release.toml @@ -20,4 +20,4 @@ rustflags = [ # = Huge reduction in binary size by removing all that. [unstable] build-std = ["std", "panic_abort"] -build-std-features = ["panic_immediate_abort"] +build-std-features = ["panic_immediate_abort", "optimize_for_size"]