tools/corrosion/RELEASES.md
branchtransitional_engine
changeset 16038 d903f8d2395a
parent 16021 6a3dc15b78b9
equal deleted inserted replaced
16036:7b8d96fc8799 16038:d903f8d2395a
       
     1 # Unreleased
       
     2 
       
     3 ### Breaking Changes
       
     4 
       
     5 - The master branch of corrosion now requires CMake 3.22. See also the 
       
     6   [v0.4.0 Release notes](#040-lts-2023-06-01) for more details.
       
     7 - Removed native tooling and the corresponding option `CORROSION_NATIVE_TOOLING`.
       
     8   Corrosion now always uses pure CMake.
       
     9 
       
    10 ### New features
       
    11 
       
    12 - Support using the `$<CONFIG>` generator expression in `OUTPUT_DIRECTORY`. [#459]
       
    13 - Add `OVERRIDE_CRATE_TYPE` option to corrosion_import_crate, allowing users to override
       
    14   the crate-types of Rust libraries (e.g. force building as a staticlib instead of an rlib).
       
    15 - Support *-windows-gnullvm targets. 
       
    16 - experimental support in corrosion_install for installing libraries and header files
       
    17 
       
    18 [#459]: https://github.com/corrosion-rs/corrosion/pull/459
       
    19 
     1 # v0.5.0 (2024-05-11)
    20 # v0.5.0 (2024-05-11)
     2 
    21 
     3 ### Breaking Changes
    22 ### Breaking Changes
     4 
    23 
     5 - Dashes (`-`) in names of imported CMake **library** targets are now replaced with underscores (`_`).
    24 - Dashes (`-`) in names of imported CMake **library** targets are now replaced with underscores (`_`).
    21 
    40 
    22 ### Fixes
    41 ### Fixes
    23 
    42 
    24 - Combine `-framework` flags on macos to avoid linker deduplication errors [#455]
    43 - 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
    44 - `corrosion_experimental_cbindgen()` will now correctly use the package name, instead of assuming that
    26     the package and crate name are identical. ([11e27c])
    45   the package and crate name are identical. ([11e27c])
    27 - Set the `AR_<triple>` variable for `cc-rs` (except for msvc targets) [#456]
    46 - Set the `AR_<triple>` variable for `cc-rs` (except for msvc targets) [#456]
    28 - Fix hostbuild when cross-compiling to windows [#477]
    47 - Fix hostbuild when cross-compiling to windows [#477]
    29 - Consider vworks executable suffix [#504]
    48 - Consider vworks executable suffix [#504]
    30 - `corrosion_experimental_cbindgen()` now forwards the Rust target-triple (e.g. `aarch64-unknown-linux-gnu`)
    49 - `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]
    50   to cbindgen via the `TARGET` environment variable. The `hostbuild` property is considered. [#507]
    41 [#511]: https://github.com/corrosion-rs/corrosion/pull/511
    60 [#511]: https://github.com/corrosion-rs/corrosion/pull/511
    42 [11e27c]: https://github.com/corrosion-rs/corrosion/pull/514/commits/11e27cde2cf32c7ed539c96eb03c2f10035de538
    61 [11e27c]: https://github.com/corrosion-rs/corrosion/pull/514/commits/11e27cde2cf32c7ed539c96eb03c2f10035de538
    43 
    62 
    44 # v0.4.9 (2024-05-01)
    63 # v0.4.9 (2024-05-01)
    45 
    64 
    46 ### New Features 
    65 ### New Features
    47 
    66 
    48 - Automatically detect Rust target for OpenHarmony ([#510]).
    67 - Automatically detect Rust target for OpenHarmony ([#510]).
    49 
    68 
    50 ### Fixes
    69 ### Fixes
    51 
    70 
    65 
    84 
    66 # v0.4.7 (2024-01-19)
    85 # v0.4.7 (2024-01-19)
    67 
    86 
    68 ### Fixes
    87 ### Fixes
    69 
    88 
    70 - The C/C++ compiler passed from corrosion to `cc-rs` can now be overriden by users setting
    89 - The C/C++ compiler passed from corrosion to `cc-rs` can now be overridden by users setting
    71   `CC_<target>` (e.g. `CC_x86_64-unknown-linux-gnu=/path/to/my-compiler`) environment variables ([#475]).
    90   `CC_<target>` (e.g. `CC_x86_64-unknown-linux-gnu=/path/to/my-compiler`) environment variables ([#475]).
    72 
    91 
    73 [#475]: https://github.com/corrosion-rs/corrosion/pull/475
    92 [#475]: https://github.com/corrosion-rs/corrosion/pull/475
    74 
    93 
    75 # v0.4.6 (2024-01-17)
    94 # v0.4.6 (2024-01-17)