From 8471513455c3cc46940274e67c7e44e574ec6655 Mon Sep 17 00:00:00 2001 From: Ed Page <eopage@gmail.com> Date: Mon, 5 Feb 2024 09:36:39 -0600 Subject: [PATCH 1/2] docs(changelog): Tweak debuginfo stripping --- CHANGELOG.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18c736e4a70..644866caeb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,9 +80,8 @@ ### Changed -- 🎉 Cargo now implicitly sets `strip = "debuginfo"` when `strip` is not set - explicitly, and debuginfo is not enabled for any package being compiled. - This would strip pre-existing debuginfo coming from the standard library, +- 🎉 Disabling debuginfo now implies `strip = "debuginfo"` (when `strip` is not set) + to strip pre-existing debuginfo coming from the standard library, reducing the default size of release binaries considerably (from ~4.5 MiB down to ~450 KiB for helloworld on Linux x64). [#13257](https://github.com/rust-lang/cargo/pull/13257) From 0d2ebbb5b8554f1046baaa9b1f46da1d45b3365a Mon Sep 17 00:00:00 2001 From: Ed Page <eopage@gmail.com> Date: Mon, 5 Feb 2024 09:47:57 -0600 Subject: [PATCH 2/2] docs(changelog): Remove panic entry The fix was backported to 1.77 (#13393) which is when it got introduced (#13172). --- CHANGELOG.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 644866caeb2..c5e3fb2b8a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,9 +21,6 @@ ### Fixed -- Don't panic on empty spans when parsing Cargo.toml. - [#13375](https://github.com/rust-lang/cargo/pull/13375) - [#13376](https://github.com/rust-lang/cargo/pull/13376) - cargo-run: use Package ID Spec match packages [#13335](https://github.com/rust-lang/cargo/pull/13335)