Skip to content

Conversation

bonzini
Copy link
Collaborator

@bonzini bonzini commented Oct 20, 2025

meson.build has clashing target names when multiple crate types are present; create a single target and dependency for each ABI.

Fixes: #15028

Do not look anmore at proc_macro after init, keeping crate_type as the
sole source of truth about the desired crate types.
@bonzini bonzini force-pushed the cargo-both-libraries branch 2 times, most recently from 162e4a3 to 1953bc1 Compare October 20, 2025 10:38
@bonzini bonzini marked this pull request as ready for review October 20, 2025 10:41
@bonzini bonzini requested a review from jpakkane as a code owner October 20, 2025 10:41
@bonzini bonzini added bug dependencies:cargo Issues related to using cargo subprojects labels Oct 20, 2025
@bonzini bonzini force-pushed the cargo-both-libraries branch from 56f00d6 to c040982 Compare October 20, 2025 11:00
@bonzini bonzini force-pushed the cargo-both-libraries branch from c040982 to a8f37c3 Compare October 20, 2025 11:13
@bonzini bonzini added this to the 1.10 milestone Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug dependencies:cargo Issues related to using cargo subprojects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cargo Wrap - meson.build has clashing target names when multiple crate types are present

1 participant