Skip to content

make unwinding an optional feature #18511

@thestinger

Description

@thestinger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-frontendArea: Compiler frontend (errors, parsing and HIR)I-compiletimeIssue: Problems and improvements with respect to compile times.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions