rust strip
May 08, 2020
To build && strip a binary use:
RUSTFLAGS='-C link-arg=-s' cargo build --release
strip
removes or modifies the symbol table attached to the output of the assembler and link editor. This is useful to save space after a program has been debugged and to limit dynamically bound symbols.