Skip to content

Releases: dtolnay/cxx

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)

0.1.1

28 Apr 01:06
0.1.1
159a9f5
Compare
Choose a tag to compare
0.1.1 Pre-release
Pre-release
  • Implement support for the String, &String, &str, UniquePtr<T> in argument position of extern "Rust" functions (#14)

0.1.0

08 Jan 17:01
0.1.0
e43b737
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release
  • Safe FFI between Rust and C++!