Skip to content

Use # env-dep annotations in .d files produced by rustc to track dependencies on environment variables #8417

Closed
@petrochenkov

Description

@petrochenkov

This will help to avoid majority of cargo:rerun-if-env-changed=VAR annotations in cargo build scripts and rerun builds automatically when environment variables change.

This is a cargo issue for rust-lang/rust#71858.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions