Skip to content

same crate-name used for every build.rs crate #2943

@nikomatsakis

Description

@nikomatsakis

When cargo builds a build.rs crate, it seems to use the same crate name of build-rs-build and empty disambiguation metadata. This causes problems for rustc's incremental compilation system, since the data for each such crate conflicts. Any kind of unique scheme would be fine (for example, the metadata could identify the crate for which the build.rs is being built).

cc @michaelwoerister

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