Skip to content

Releases: dtolnay/cxx

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

0.3.5

27 Aug 08:46
0.3.5
f7a592b
Compare
Choose a tag to compare
  • Add rust::Str and rust::String constructors taking const 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)

0.3.4

22 May 18:21
0.3.4
57d3c68
Compare
Choose a tag to compare
  • Fix noncompilable C++ code generated for an extern C++ member function with no args and a Result return type (#210, thanks @myronahn)
  • Add noexcept to some rust::Slice<T> and rust::Vec<T> member functions

0.3.3

13 May 05:44
0.3.3
6aa34e4
Compare
Choose a tag to compare
  • Resolve enum repr based on repr attributes, discriminant suffixes, and discriminant values (#196)
  • Support #[cxx::bridge] module nested inside another module (#119)
  • Allow include-ing <bracketed> headers (#201)
  • Fix some warnings when built with MSVC (#194, thanks @philipcraig)

0.3.2

08 May 22:59
0.3.2
e2f70fe
Compare
Choose a tag to compare
  • Fix build error when using the nix version of clang (#192, thanks @cchalmers)

0.3.1

08 May 17:15
0.3.1
878ab12
Compare
Choose a tag to compare

0.3.0

30 Apr 02:03
0.3.0
63a4384
Compare
Choose a tag to compare
  • Divide Cargo-specific build-only dependencies out to a cxx-build crate, leaving the cxx crate containing only runtime components (#144, #167)