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

make unwinding an optional feature #18511

Closed
thestinger opened this issue Nov 1, 2014 · 1 comment
Closed

make unwinding an optional feature #18511

thestinger opened this issue Nov 1, 2014 · 1 comment
Labels
A-codegen Area: Code generation A-frontend Area: Compiler frontend (errors, parsing and HIR) I-compiletime Issue: Problems and improvements with respect to compile times. I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@thestinger
Copy link
Contributor

Crate metadata can contain a boolean specifying if the crate supports unwinding and this would be opt-in during compilation via -C unwinding. A crate linking against crates with unwinding enabled should implicitly use unwinding. Since the default is to link against the standard library, nothing will change for most users. The compiler can prevent mixing crates together with a mismatch in the unwinding setting.

@thestinger thestinger added A-frontend Area: Compiler frontend (errors, parsing and HIR) I-slow Issue: Problems and improvements with respect to performance of generated code. A-codegen Area: Code generation labels Nov 1, 2014
@thestinger thestinger added the I-compiletime Issue: Problems and improvements with respect to compile times. label Nov 2, 2014
@steveklabnik
Copy link
Member

Closing in favor of rust-lang/rfcs#471

lnicola added a commit to lnicola/rust that referenced this issue Nov 28, 2024
Re-add `rust-analyzer.cargo.sysrootQueryMetadata`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation A-frontend Area: Compiler frontend (errors, parsing and HIR) I-compiletime Issue: Problems and improvements with respect to compile times. I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

2 participants