Skip to content

Releases: dtolnay/cxx

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)

0.2.12

28 Apr 01:10
0.2.12
4fc5331
Compare
Choose a tag to compare
  • Accept wildcard in extern function argument names (#159, thanks @jgalenson)

0.2.11

28 Apr 01:10
0.2.11
7b4e657
Compare
Choose a tag to compare
  • Support passing std::vector<T> and Rust's Vec<T> between languages (#67, #148, thanks @myronahn)

0.2.10

28 Apr 01:10
0.2.10
0d645c7
Compare
Choose a tag to compare

0.2.9

28 Apr 01:10
0.2.9
4272d98
Compare
Choose a tag to compare
  • Support passing &[u8] byte slices (#117, thanks @adetaylor)
  • Handle building on Windows with symlink support not enabled (#116)