From 85fb6a40a8dd6176de98bd7356302258c966144e Mon Sep 17 00:00:00 2001 From: comphead Date: Sun, 23 Feb 2025 14:09:08 -0800 Subject: [PATCH 1/5] chore: Strip debuginfo symbols for release --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f7d39aeb3003..f0545aefafda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -159,6 +159,8 @@ url = "2.5.4" [profile.release] codegen-units = 1 lto = true +debug = false +strip = true # the release profile takes a long time to build so we can use this profile during development to save time # cargo build --profile release-nonlto @@ -173,6 +175,7 @@ opt-level = 3 overflow-checks = false panic = 'unwind' rpath = false +strip = true [profile.ci] inherits = "dev" From 75f7f02b0a8b947a2f1c74754dba28cdfe2c0fda Mon Sep 17 00:00:00 2001 From: comphead Date: Sun, 23 Feb 2025 15:30:49 -0800 Subject: [PATCH 2/5] chore: Strip debuginfo symbols for release --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index f0545aefafda..8a1fe5ea031c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -161,6 +161,7 @@ codegen-units = 1 lto = true debug = false strip = true +panic = "abort" # the release profile takes a long time to build so we can use this profile during development to save time # cargo build --profile release-nonlto From a614dfb801caddbb3583e9488371a31f06a271fa Mon Sep 17 00:00:00 2001 From: comphead Date: Sun, 23 Feb 2025 15:31:07 -0800 Subject: [PATCH 3/5] chore: Strip debuginfo symbols for release --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8a1fe5ea031c..eb9a5e85f090 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -174,7 +174,7 @@ inherits = "release" lto = false opt-level = 3 overflow-checks = false -panic = 'unwind' +panic = 'abort' rpath = false strip = true From c1db5412e8f6c0b299185fc6110db00ef829ffb6 Mon Sep 17 00:00:00 2001 From: comphead Date: Sun, 23 Feb 2025 15:31:50 -0800 Subject: [PATCH 4/5] chore: Strip debuginfo symbols for release --- Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index eb9a5e85f090..20a0aa4e65ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -167,16 +167,13 @@ panic = "abort" # cargo build --profile release-nonlto [profile.release-nonlto] codegen-units = 16 -debug = false debug-assertions = false incremental = false inherits = "release" lto = false opt-level = 3 overflow-checks = false -panic = 'abort' rpath = false -strip = true [profile.ci] inherits = "dev" From dc45395ce9d884c690ac21abb0a2851753b2f9c2 Mon Sep 17 00:00:00 2001 From: comphead Date: Mon, 24 Feb 2025 12:13:44 -0800 Subject: [PATCH 5/5] chore: Strip debuginfo symbols for release --- Cargo.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 20a0aa4e65ed..d0710113d47b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -159,9 +159,7 @@ url = "2.5.4" [profile.release] codegen-units = 1 lto = true -debug = false strip = true -panic = "abort" # the release profile takes a long time to build so we can use this profile during development to save time # cargo build --profile release-nonlto