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

Build with panic=abort #992

Open
brson opened this issue Mar 16, 2017 · 3 comments
Open

Build with panic=abort #992

brson opened this issue Mar 16, 2017 · 3 comments

Comments

@brson
Copy link
Contributor

brson commented Mar 16, 2017

This will reduce binary size considerably.

cc #982

@brson
Copy link
Contributor Author

brson commented Mar 17, 2017

This is a matter of changing .travil.yml and appveyor.yml.

@remram44
Copy link

I'm running into something similar to rust-lang/cargo#2738:

   Compiling rustup-mock v1.0.0 (file:///buildslave/src/rustup-mock)
error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort`

Some dependencies need panic=unwind...

@brson
Copy link
Contributor Author

brson commented May 12, 2017

One consideration with panic=abort: if an installation transaction panics then that transaction will not rollback. I'm not sure how heavily to weigh that - leaving unwinding on would certainly make rustup more resilient to bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants