Skip to content

Releases: dtolnay/cxx

0.2.8

28 Apr 01:09
0.2.8
48b09e9
Compare
Choose a tag to compare
  • Support building with -fno-exceptions (#101)
  • Add an in-place constructor for rust::Box<T> (#106)
  • Support non-Cargo builds that don't set Cargo's environment variables (#113, thanks @adetaylor)

0.2.7

28 Apr 01:09
0.2.7
40b932f
Compare
Choose a tag to compare
  • Provide a cross platform rust::isize type to C++ (#97)

0.2.6

28 Apr 01:08
0.2.6
4b97272
Compare
Choose a tag to compare
  • Provide Deref and DerefMut impls for UniquePtr in Rust (#95)

0.2.5

28 Apr 01:08
0.2.5
5f1cc8a
Compare
Choose a tag to compare
  • Support having a UniquePtr in Rust that contains a pure virtual opaque extern "C" type (#93, #94)

0.2.4

28 Apr 01:08
0.2.4
b1637ad
Compare
Choose a tag to compare
  • Accept non-UnwindSafe extern Rust types in extern Rust signatures (#91)

0.2.3

28 Apr 01:08
0.2.3
86949cf
Compare
Choose a tag to compare
  • Allow function calls on a const function pointer (#90)

0.2.2

28 Apr 01:07
0.2.2
93c51a6
Compare
Choose a tag to compare
  • Allow calling Rust function pointers in C++ with explicit indirect call syntax (#89)

0.2.1

28 Apr 01:07
0.2.1
d4402ca
Compare
Choose a tag to compare
  • Add interop between Rust Result and C++ exceptions (#73, #74, #53, #77)
  • Add support for passing function pointers from Rust to C++ (#85)
  • Add f32 and f64 support (#65)
  • Allow including generated header using a .rs.h extension in Cargo builds (#75)

0.2.0

28 Apr 01:07
0.2.0
f51dc4d
Compare
Choose a tag to compare
  • Improve ergonomics of the C++ API (#48, #46, #56, thanks @slurps-mad-rips)
  • Add a way to emit the cxx.h header from the cxxbridge cli command (#27, #20, thanks @sayrer)
  • Use the platform's native C++ standard library (libstdc++, libc++, etc) (#21, #19)
  • Fixes to improve Windows support (#41)
  • Expose snake_case aliases for all types for use in codebases that use that style for types (#50)
  • Avoid pulling in all of <iostream> in our header (#55)

0.1.2

28 Apr 01:06
0.1.2
61b6771
Compare
Choose a tag to compare
0.1.2 Pre-release
Pre-release
  • Support opaque C++ types that are not structs, for example using Obj = void*; could now be manipulated as an opaque type from Rust (#15)