Skip to content

Bump cxx-build from 1.0.28 to 1.0.41 in /src/rs/tessellation

Bumps cxx-build from 1.0.28 to 1.0.41.

Release notes

Sourced from cxx-build's releases.

1.0.41

  • Detect unsound signatures involving mutable slices in C++ function return position (#794)
  • Fix noncompilable Rust code generated for pinned mutable reference to extern type alias in return position (#799)

1.0.40

  • Permit C++ to safely construct an empty Rust slice using a null data pointer (#789)
  • Debug assert that nonempty slices are not constructed with a null data ptr from C++ (#788)
  • Fix a missing stdexcept #include for code containing Rust slices or vectors (#791)

1.0.39

  • Improve diagnostic placement for compile errors inside of implicitly generated shim trait impls (#786)

1.0.38

  • Support reference return type on a fallible extern "Rust" function (#782)
  • Fix non-compilable code generated in the case of arguments of pinned reference type pointing to an extern type alias (#785)

1.0.37

  • Relax some restrictions on references in return position of functions with explicit lifetime annotations (#763, #764, #765)
  • Fix non-compilable generated code when using a shared type containing String across multiple ffi modules (#771)
  • Fix an unused variable warning in generated code when using Vec or String other than in a function argument position (#772)

1.0.36

  • Cut out some noise from generated code if bridge already has "rust/cxx.h" included (#769)

1.0.35

  • Support non-static vector element types inside of unique ptr: UniquePtr<CxxVector<Thing<'a>>> (#760)
  • Expose a trait bound to enable working with CxxVector, UniquePtr, and SharedPtr inside of generic code (#762)

1.0.34

1.0.33

  • Provide trait impls of Eq, Ord, PartialOrd, Hash for CxxString, allowing it to be used as a HashMap or BTreeMap key (#743, thanks @​b05902132)

1.0.32

  • Disallow placing an ineffective Drop impl on shared structs (#708, #711)
  • Support expanding type_id! macro inside of crates that have the cxx crate imported under a different name (#712)
  • Prevent rvalue instance of String, Str, Slice, Box, Vec as lhs of an assignment operator (#698)
  • Minor improvement to diagnostic placement on APIs without a handwritten visibility (#710)
  • Ship license files in the cxxbridge-flags implementation detail crate (#717, thanks @​khardix)

1.0.31

  • Clarify error for using enum as method receiver (#688, thanks @​fletcherw)
  • Fix unresolved symbol when working with rust::Vec<size_t> on macOS (#707, #705)

1.0.30

  • Fix let_cxx_string! to allow use of lhs variable name in rhs initialization expression (#701)
  • Re-export cc's parallel build feature for cxx-build (#704, thanks @​edsrzf)

1.0.29

... (truncated)

Commits
  • c1d9d87 Release 1.0.41
  • 3b37d25 Lockfile update
  • 4e9d6ea Merge pull request #800 from dtolnay/pinopaque
  • a42a765 Handle pinned returned reference to improper ctype extern type
  • 847efb8 Add regression test of returning pinned mut opaque type
  • f72dfb9 Merge pull request #794 from dtolnay/mutable
  • 22cb288 Recognize mutable slice in return position of a safe function
  • 6ca15dd Add ui test of mutable slice return from reference arguments
  • fdbb2f8 Release 1.0.40
  • ffd6f84 Recognize mutable slice argument as permitting mutable return
  • Additional commits viewable in compare view

Merge request reports