Skip to content

Dep info contains invalid file paths when rustc-macro is used #36625

@Thinkofname

Description

@Thinkofname

Noticed it causing issues with cargo as it uses --emit=dep-info,link and then parses the files as part of the fingerprinting process.

It seems every instance of macro generated code (e.g. via serde_derive) creates a rustc-macro\ source\ code entry into this file which when cargo tries to look up it can't find.

Cargo issue: rust-lang/cargo#3094

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions