Skip to content

Editing proc-macro crate = undefined symbol #47936

Open
@sgrif

Description

Note: This is with incremental-comp turned off, and a compiler built yesterday.

Occasionally when working on Diesel's codegen crates, I'll get an error like this:

error: dlsym(0x113560e00, __rustc_derive_registrar__55df2b44c5129c66de0914ff53563457_89): symbol not found
   --> diesel/src/lib.rs:121:1
    |
121 | extern crate diesel_derives2;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The only fix when this happens is to cargo clean. It randomly happens when I change some code, but not 100% of the time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-macros-2.0Area: Declarative macros 2.0 (#39412)C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions