make unwinding an optional feature #18511
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.
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.The text was updated successfully, but these errors were encountered: