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

Use new panic-strategy field in custom target? #240

Closed
phil-opp opened this issue Oct 7, 2016 · 1 comment
Closed

Use new panic-strategy field in custom target? #240

phil-opp opened this issue Oct 7, 2016 · 1 comment

Comments

@phil-opp
Copy link
Owner

phil-opp commented Oct 7, 2016

PR rust-lang/rust#36794 introduced a new panic-strategy field for target JSON files, that allows to set the default panic strategy for the target. We could use it to get rid of the profile options in the Cargo.toml. This would also remove the need for eh_personality and _Unwind_Resume (since the sysroot is then compiled without unwinding support too).

However, we couldn't introduce it before the Returning from Exceptions post, since we're using the default x86_64-unknown-linux-gnu target in the earlier posts.

@phil-opp
Copy link
Owner Author

phil-opp commented Dec 7, 2017

Fixed in #310

@phil-opp phil-opp closed this as completed Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant