Skip to content

Crashes when built using -Cpanic=abort #569

@h33p

Description

@h33p

proc-macro2 crashes during parsing when building with -Cpanic=abort flag. cbindgen-0.14.4/src/bindgen/parser.rs:229 leads all the way to proc-macro2-1.0.19/src/detection.rs:59 where it panics and aborts. This is a proc-macro2 issue in question: dtolnay/proc-macro2#218

Solution would be to incorporate proc_macro2::fallback::force() somewhere in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions