Skip to content

Commit

Permalink
chore: add strip = "debuginfo" to release profile
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardosm committed Nov 8, 2024
1 parent 0b54b3d commit b77569e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ rand = "0.8.5"
serde_yaml = "0.9.34"

[profile.release]
strip = "debuginfo"
panic = "abort"
lto = true
codegen-units = 1
4 changes: 0 additions & 4 deletions ci/build-dist-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ begin_group "Install Rust"
. ci/cargo-env.sh
end_group

export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
export CARGO_PROFILE_RELEASE_CODEGEN_PANIC=abort
export CARGO_PROFILE_RELEASE_STRIP=debuginfo

begin_group "Fetch Rust dependencies"
cargo fetch --locked
end_group
Expand Down
4 changes: 0 additions & 4 deletions ci/build-dist-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ begin_group "Install Rust"
. ci/cargo-env.sh
end_group

export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
export CARGO_PROFILE_RELEASE_CODEGEN_PANIC=abort
export CARGO_PROFILE_RELEASE_STRIP=debuginfo

begin_group "Fetch Rust dependencies"
cargo fetch --locked
end_group
Expand Down

0 comments on commit b77569e

Please sign in to comment.