Skip to content

Automatically generate cargo:rerun-if-changed #1461

Open
@nyurik

Description

@nyurik

I think by now the cargo:rerun-if-changed=<path> is ubiqutous in all cxx-using cases, so I think it would make a lot of sense to automatically generate these as part of the bridge building. This is especially important because most of the time the path string is hardcoded in the user's code, so may be easily mismatch and cause surprising behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions