Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add strip = "debuginfo" to release profile #27

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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