Skip to content

v0.4.10

Compare
Choose a tag to compare
@jschwe jschwe released this 11 May 10:25
· 55 commits to master since this release

New features

  • corrosion_experimental_cbindgen() can now be called multiple times on the same Rust target,
    as long as the output header name differs. This may be useful to generate separate C and C++
    bindings. #507
  • If corrosion_link_libraries() is called on a Rust static library target, then
    target_link_libraries() is called to propagate the dependencies to C/C++ consumers.
    Previously a warning was emitted in this case and the arguments ignored. #506

Fixes

  • Combine -framework flags on macos to avoid linker deduplication errors #455
  • corrosion_experimental_cbindgen() will now correctly use the package name, instead of assuming that
    the package and crate name are identical. (11e27c)
  • Set the AR_<triple> variable for cc-rs (except for msvc targets) #456
  • Fix hostbuild when cross-compiling to windows #477
  • Consider vworks executable suffix #504
  • corrosion_experimental_cbindgen() now forwards the Rust target-triple (e.g. aarch64-unknown-linux-gnu)
    to cbindgen via the TARGET environment variable. The hostbuild property is considered. #507
  • Fix linking errors with Rust >= 1.79 and -msvc targets. #511