Skip to content

Proc macros are executed in the wrong working directory #7057

Closed
@jonas-schievink

Description

@jonas-schievink

Reported in #7052 (comment), it seems like proc macros should be executed in the directory containing the invoking crate's main file (lib.rs/main.rs, or whatever would be passed to rustc as the crate root to compile).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macromacro expansionS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions