about summary refs log tree commit diff
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2025-04-01 14:49:48 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2025-04-01 20:50:19 +0000
commit4c9241861019789f77df73b137d0a71dcfe68d91 (patch)
tree89a51092fb7e3af3fda97a1d345bf628c7ba6368
parent8c35f4a85e2c505d22c751ebdc292e851b1584cf (diff)
downloadrust-4c9241861019789f77df73b137d0a71dcfe68d91.tar.gz
rust-4c9241861019789f77df73b137d0a71dcfe68d91.zip
Add `opt-level = "s"` for more std symbolication crates
-rw-r--r--library/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
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