corrosion-rs / corrosion

Marrying Rust and CMake - Easy Rust and C/C++ Integration!
https://corrosion-rs.github.io/corrosion/
MIT License
1.02k stars 97 forks source link

Breaking: Change imported library names to match Rust 1.79 #514

Closed jschwe closed 2 months ago

jschwe commented 2 months ago

As reported in https://github.com/corrosion-rs/corrosion/issues/501 cargo metadata will convert dashes in implicit library names to underscores starting with Rust 1.79 (now in beta). To make the imported CMake target name consistent across Rust versions, corrosion will now also do the same conversion.