Skip to content

Releases: dtolnay/cxx

0.4.5

16 Sep 16:17
0.4.5
7ff80c4
Compare
Choose a tag to compare
  • Add -o/--output flag for cxxbridge CLI to control output location (#299)
  • Fix missing type in generated code in some cases involving Result (#301, thanks @Nehliin)
  • Support cross compilation to Windows (#302)

0.4.4

08 Sep 23:21
0.4.4
c4ff07b
Compare
Choose a tag to compare
  • Make rust::Error inherit publicly from std::exception so that it can be caught by catch (const std::exception &e) {

0.4.3

07 Sep 07:06
0.4.3
430b5de
Compare
Choose a tag to compare
  • Support working with a C++ namespace that contains Rust reserved words in the namespace path (#286)

0.4.2

02 Sep 22:59
0.4.2
e0b6c73
Compare
Choose a tag to compare
  • Fix missing definitions in generated code involving Vec (#277)
  • Accept - as referring to stdin in the command line code generator (#278)

0.4.1

02 Sep 18:52
0.4.1
8745f7f
Compare
Choose a tag to compare
  • Fix out-of-date generated code being pulled into Cargo builds

0.4.0

02 Sep 06:16
0.4.0
5f3fb89
Compare
Choose a tag to compare
  • 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

02 Sep 06:09
0.3.9
bcc0a1c
Compare
Choose a tag to compare
  • Update documentation to reflect new path of demo crate in the repo

0.3.8

01 Sep 19:43
0.3.8
9f1e3d7
Compare
Choose a tag to compare
  • Improve reporting of i/o errors from C++ code generator
  • Set cxx_build::bridges as must_use

0.3.7

30 Aug 19:16
0.3.7
9075cdc
Compare
Choose a tag to compare
  • Support function signatures that involve Vec<T> where T is an extern C-style enum

0.3.6

29 Aug 00:00
0.3.6
907debe
Compare
Choose a tag to compare