Skip to content

Random compilation error with proc-macro #47332

Closed
@antoyo

Description

@antoyo

Hi!
I randomly get the following compilation error when developing a proc-macro:

error: /path/to/rust/project/target/debug/deps/libmy_proc_macro_crate-bed23c204003db91.so: undefined symbol: __rustc_derive_registrar__b0028b8f317d7b045e78ce5c492cc011_18
 --> src/main.rs:3:1
  |
3 | extern crate my_proc_macro_crate;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Running cargo clean fix (temporarily) the issue.
Thanks to fix this issue.

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