Releases: dtolnay/cxx
Releases · dtolnay/cxx
0.4.0
-
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.
0.3.9
0.3.8
0.3.7
0.3.6
- Add
cxx::String
andcxx::Vector
type aliases (#265) - Implement support for
Vec<String>
andCxxVector<CxxString>
(#153)
0.3.5
- Add
rust::Str
andrust::String
constructors takingconst char *
+size_t
(#242) - Add
rust::Vec
accessors:operator[]
,at
,front
,back
(#257, thanks @rinon) - Fix
no matching function for call to 'operator new'
error (#238) - Support controlling shared object symbol visibility (#231, #219, thanks @adetaylor)
- Prevent duplicate definitions if generated .cc were to include generated .h via intermediate includes (#247, thanks @adetaylor)
- Fix ineffective use of
#pragma once
(#246) - Cut 7 dependencies from cxxbridge-cmd (#245)
- Fix noncompilable code generated for arguments of type
&mut Vec<T>
(#263)