Skip to content

Include headers in cxx_build include() brought in by a dependency within target/ sub-directory? #1641

@lucasw

Description

@lucasw

I have headers like target/release/build/joltc-sys-cbcdf0340a740e35/out/include/Jolt/Physics/PhysicsSystem.h I'd like to use with cxx_build::bridge(...).include(), but that hash is not going to be consistent (where joltc-sys is the name of the dependency, my project is name something else). Is there a way to find out what the right path is within build.rs?

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