Bug 246993 - Mk/Uses/cargo.mk: Strip binaries with cargo
Summary: Mk/Uses/cargo.mk: Strip binaries with cargo
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2020-06-04 23:43 UTC by Tobias Kortkamp
Modified: 2020-06-04 23:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer 2020-06-04 23:43:38 UTC
When stabilized, add `strip = "symbols"` to `[profile.release]` in
cargo.mk and potentially drop many of the STRIP_CMD in USES=cargo ports.

This already works with nightly, but since the feature is unstable
it requires adding `cargo-features = ["strip"]` to the top of
Cargo.toml.

https://github.com/rust-lang/cargo/pull/8246