Skip to content

Releases: dtolnay/cxx

1.0.70

04 Jul 16:59
1.0.70
ac89872
Compare
Choose a tag to compare
  • Make clippy attrs on extern blocks apply to all contents of the block (#1061)
  • Support clippy attrs on extern "Rust" functions (#1062)

1.0.69

18 Jun 07:04
1.0.69
5d50b94
Compare
Choose a tag to compare
  • Update command line argument parser to clap 3.2 (#1060)

1.0.68

13 May 23:52
1.0.68
d492054
Compare
Choose a tag to compare
  • Eliminate unused_attributes warning in generated code

1.0.67

26 Apr 01:57
1.0.67
0006c00
Compare
Choose a tag to compare
  • Improvements to the Bazel build rules:
    • Use the default linker on macOS C++ toolchains from Apple (#1029, thanks @keith)
    • Support Arm target triples on Bazel 5.1+ (#1038, thanks @snowp)
    • Ensure that cxx and its third-party dependencies are built with the correct edition even if the downstream repo uses a different default one (#1034, #1035, #1040, bazelbuild/rules_rust#1256)

1.0.66

08 Mar 20:31
1.0.66
f13e68f
Compare
Choose a tag to compare
  • Support C arrays as struct fields inside types with a handwritten ExternType impl (#1021)

1.0.65

08 Mar 20:30
1.0.65
c53e4bc
Compare
Choose a tag to compare
  • Update command line argument parser to clap 3.1 (#1016)

1.0.64

08 Mar 20:29
1.0.64
26137f9
Compare
Choose a tag to compare
  • Support #[cfg(debug_assertions)] inside ffi module in Cargo-based builds
  • Improve error messages on async fn inside ffi module

1.0.63

19 Jan 00:01
1.0.63
34d4447
Compare
Choose a tag to compare
  • Add support for conditional compilation using #[cfg(...)] attributes inside the bridge module (#989)
    #[cfg(target_os = "android")]
    type CallInvokerHolder;

    #[cfg(target_os = "android")]
    fn getCallInvoker(self: Pin<&mut CallInvokerHolder>) -> SharedPtr<CallInvoker>;

1.0.62

03 Jan 09:04
1.0.62
6d7299e
Compare
Choose a tag to compare
  • Update command line parser to clap 3 (#993)

1.0.61

31 Dec 22:14
1.0.61
8aa54e6
Compare
Choose a tag to compare
  • Add String::lossy constructors to C++ API, corresponding to from_utf8_lossy and from_utf16_lossy (#984, thanks @benesch)
  • Add Vec<T>::truncate to C++ API (#988, thanks @benesch)
  • Assert sufficient alignment of const char16_t* passed to a rust::String constructor (#992)