Skip to content

"cargo:rerun-if-changed" missing colon? #1502

@barries

Description

@barries

Describe the bug

autocxx emits lines like:

cargo:rerun-if-changed=/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/x86_64-linux-gnu/c++/11/bits/c++config.h
cargo:rerun-if-changed=/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/x86_64-linux-gnu/c++/11/bits/os_defines.h

when the current spec is to emit the cargo:: prefix with two colons.

To Reproduce

Cause a build.rs failure when using autocxx and examine the output.

Expected behavior

autocxx emits lines with correct prefixes.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions