Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking: Backport #514 to the stable branch #516

Closed

Conversation

jschwe
Copy link
Collaborator

@jschwe jschwe commented May 10, 2024

Will probably be released as v0.5, since it is a breaking change.

@jschwe jschwe changed the title Jschwender/backport underscore Backport #514 to the stable branch May 10, 2024
@jschwe jschwe changed the title Backport #514 to the stable branch Breaking: Backport #514 to the stable branch May 10, 2024
@jschwe jschwe force-pushed the jschwender/backport_underscore branch from 45019e5 to af71bc5 Compare May 10, 2024 13:22
@jschwe jschwe changed the title Breaking: Backport #514 to the stable branch Backports to the stable branch May 10, 2024
@jschwe jschwe force-pushed the jschwender/backport_underscore branch from 3721a2b to 844af1e Compare May 11, 2024 10:18
@jschwe jschwe changed the title Backports to the stable branch Backport #514 to the stable branch May 11, 2024
@jschwe jschwe changed the title Backport #514 to the stable branch Breaking: Backport #514 to the stable branch May 11, 2024
@jschwe jschwe force-pushed the jschwender/backport_underscore branch from 844af1e to 3d6eb13 Compare May 11, 2024 10:36
Rust 1.79 and newer replace dashes with underscores in lib names.
This can only happen when the lib name is inherited from the
package name, since explicit lib names have never been allowed
to use dashes.
Since we import our CMake target names by using cargo metadata,
we make the same change as cargo 1.79 does, but also for
older Rust versions, so that Corrosion users can use the
same CMake target name independent of the Rust version.

Fixes corrosion-rs#501
(cherry-picked from f85b242)
@jschwe jschwe force-pushed the jschwender/backport_underscore branch from 3d6eb13 to 013088d Compare May 11, 2024 15:05
@jschwe
Copy link
Collaborator Author

jschwe commented May 11, 2024

Released as stable/v0.5

@jschwe jschwe closed this May 11, 2024
@jschwe jschwe deleted the jschwender/backport_underscore branch May 11, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant