From 4c9241861019789f77df73b137d0a71dcfe68d91 Mon Sep 17 00:00:00 2001 From: clubby789 Date: Tue, 1 Apr 2025 14:49:48 +0000 Subject: [PATCH] Add `opt-level = "s"` for more std symbolication crates --- library/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/Cargo.toml b/library/Cargo.toml index 4d5955593ff..026ba147008 100644 --- a/library/Cargo.toml +++ b/library/Cargo.toml @@ -38,8 +38,11 @@ adler2.debug = 0 gimli.debug = 0 gimli.opt-level = "s" miniz_oxide.debug = 0 +miniz_oxide.opt-level = "s" +# `opt-level = "s"` for `object` led to a size regression when tried previously object.debug = 0 rustc-demangle.debug = 0 +rustc-demangle.opt-level = "s" [patch.crates-io] # See comments in `library/rustc-std-workspace-core/README.md` for what's going on