[Bug 246993] Mk/Uses/cargo.mk: Strip binaries with cargo

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 4 23:43:39 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246993

            Bug ID: 246993
           Summary: Mk/Uses/cargo.mk: Strip binaries with cargo
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: rust at FreeBSD.org
          Reporter: tobik at freebsd.org
                CC: ports-bugs at FreeBSD.org

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list