Bug 246993

Summary: Mk/Uses/cargo.mk: Strip binaries with cargo
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Ports FrameworkAssignee: FreeBSD Rust Team <rust>
Status: New ---    
Severity: Affects Only Me CC: ports-bugs
Priority: --- Keywords: needs-patch
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://github.com/rust-lang/cargo/pull/8246

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