|
| 1 | +# v0.5.0 (2024-05-11) |
| 2 | + |
| 3 | +### Breaking Changes |
| 4 | + |
| 5 | +- Dashes (`-`) in names of imported CMake **library** targets are now replaced with underscores (`_`). |
| 6 | + See [issue #501] for details. Users on older Corrosion versions will experience the same |
| 7 | + change when using Rust 1.79 or newer. `bin` targets are not affected by this change. |
| 8 | + |
| 9 | +[issue #501]: https://github.com/corrosion-rs/corrosion/issues/501 |
| 10 | + |
| 11 | +# v0.4.10 (2024-05-11) |
| 12 | + |
| 13 | +### New features |
| 14 | + |
| 15 | +- `corrosion_experimental_cbindgen()` can now be called multiple times on the same Rust target, |
| 16 | + as long as the output header name differs. This may be useful to generate separate C and C++ |
| 17 | + bindings. [#507] |
| 18 | +- If `corrosion_link_libraries()` is called on a Rust static library target, then |
| 19 | + `target_link_libraries()` is called to propagate the dependencies to C/C++ consumers. |
| 20 | + Previously a warning was emitted in this case and the arguments ignored. [#506] |
| 21 | + |
| 22 | +### Fixes |
| 23 | + |
| 24 | +- Combine `-framework` flags on macos to avoid linker deduplication errors [#455] |
| 25 | +- `corrosion_experimental_cbindgen()` will now correctly use the package name, instead of assuming that |
| 26 | + the package and crate name are identical. ([11e27c]) |
| 27 | +- Set the `AR_<triple>` variable for `cc-rs` (except for msvc targets) [#456] |
| 28 | +- Fix hostbuild when cross-compiling to windows [#477] |
| 29 | +- Consider vworks executable suffix [#504] |
| 30 | +- `corrosion_experimental_cbindgen()` now forwards the Rust target-triple (e.g. `aarch64-unknown-linux-gnu`) |
| 31 | + to cbindgen via the `TARGET` environment variable. The `hostbuild` property is considered. [#507] |
| 32 | +- Fix linking errors with Rust >= 1.79 and `-msvc` targets.` [#511] |
| 33 | + |
| 34 | + |
| 35 | +[#455]: https://github.com/corrosion-rs/corrosion/pull/455 |
| 36 | +[#456]: https://github.com/corrosion-rs/corrosion/pull/456 |
| 37 | +[#477]: https://github.com/corrosion-rs/corrosion/pull/477 |
| 38 | +[#504]: https://github.com/corrosion-rs/corrosion/pull/504 |
| 39 | +[#506]: https://github.com/corrosion-rs/corrosion/pull/506 |
| 40 | +[#507]: https://github.com/corrosion-rs/corrosion/pull/507 |
| 41 | +[#511]: https://github.com/corrosion-rs/corrosion/pull/511 |
| 42 | +[11e27c]: https://github.com/corrosion-rs/corrosion/pull/514/commits/11e27cde2cf32c7ed539c96eb03c2f10035de538 |
| 43 | + |
| 44 | +# v0.4.9 (2024-05-01) |
| 45 | + |
| 46 | +### New Features |
| 47 | + |
| 48 | +- Automatically detect Rust target for OpenHarmony ([#510]). |
| 49 | + |
| 50 | +### Fixes |
| 51 | + |
| 52 | +- Make find_package portable ([#509]). |
| 53 | + |
| 54 | +[#510]: https://github.com/corrosion-rs/corrosion/pull/510 |
| 55 | +[#509]: https://github.com/corrosion-rs/corrosion/pull/509 |
| 56 | + |
| 57 | +# v0.4.8 (2024-04-03) |
| 58 | + |
| 59 | +### Fixes |
| 60 | + |
| 61 | +- Fix an internal error when passing both the `PROFILE` and `CRATES` option to |
| 62 | + `corrosion_import_crate()` ([#496]). |
| 63 | + |
| 64 | +[#496]: https://github.com/corrosion-rs/corrosion/pull/496 |
| 65 | + |
| 66 | +# v0.4.7 (2024-01-19) |
| 67 | + |
| 68 | +### Fixes |
| 69 | + |
| 70 | +- The C/C++ compiler passed from corrosion to `cc-rs` can now be overriden by users setting |
| 71 | + `CC_<target>` (e.g. `CC_x86_64-unknown-linux-gnu=/path/to/my-compiler`) environment variables ([#475]). |
| 72 | + |
| 73 | +[#475]: https://github.com/corrosion-rs/corrosion/pull/475 |
| 74 | + |
| 75 | +# v0.4.6 (2024-01-17) |
| 76 | + |
| 77 | +### Fixes |
| 78 | + |
| 79 | +- Fix hostbuild executables when cross-compiling from non-windows to windows targets. |
| 80 | + (Only with CMake >= 3.19). |
| 81 | + |
| 82 | +# v0.4.5 (2023-11-30) |
| 83 | + |
| 84 | +### Fixes |
| 85 | + |
| 86 | +- Fix hostbuild executables when cross-compiling on windows to non-windows targets |
| 87 | + (Only with CMake >= 3.19). |
| 88 | + |
| 89 | +# v0.4.4 (2023-10-06) |
| 90 | + |
| 91 | +### Fixes |
| 92 | + |
| 93 | +- Add `chimera` ([#445]) and `unikraft` ([#446]) to the list of known vendors |
| 94 | + |
| 95 | +[#445]: https://github.com/corrosion-rs/corrosion/pull/445 |
| 96 | +[#446]: https://github.com/corrosion-rs/corrosion/pull/446 |
| 97 | + |
1 | 98 | # v0.4.3 (2023-09-09)
|
2 | 99 |
|
3 | 100 | ### Fixes
|
|
0 commit comments