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

Option for stripping binary #3483

Open
torkleyy opened this Issue Jan 1, 2017 · 2 comments

Comments

Projects
None yet
4 participants
@torkleyy
Copy link
Contributor

torkleyy commented Jan 1, 2017

I think it would be helpful to have an option for stripping the binary (probably as default in release mode) because executables often get much smaller.

@mdsteele

This comment has been minimized.

Copy link

mdsteele commented Jun 13, 2018

I would like to have this as well. See also #4122.

@cup

This comment has been minimized.

Copy link

cup commented Oct 19, 2018

(ugly) workaround is:

RUSTFLAGS='-C link-arg=-s' cargo build --release

#4122 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.