Skip to content

0.4.0

Compare
Choose a tag to compare
@dtolnay dtolnay released this 02 Sep 06:16
· 2617 commits to master since this release
0.4.0
5f3fb89
  • Fix various sources of brittleness in the Cargo-based workflow (#88, #213)

  • Breaking change: the default #include path set up for your build by cxx_build::bridge now contains the crate name as the first component of paths. So if your crate name is my-crate and cxx_build::bridge is invoked with "src/lib.rs" as the local path, the resulting generated header would be includable from C++ as #include "my-crate/src/lib.rs.h". Headers from dependencies are now also available exactly the same way: their crate name followed by local path within the crate.