Skip to content

Conversation

@bonzini
Copy link
Collaborator

@bonzini bonzini commented Nov 20, 2025

.def files are a linker concept, and they should not be shoehorned into the Compiler. Making the compiler forward to DynamicLinker removes hasattr duck typing and gets Rust support (almost) for free.

.def files are a linker concept, and they should not be shoehorned
into the Compiler.

Signed-off-by: Paolo Bonzini <[email protected]>
This adds support for DEF files to rust and removes
some hasattr duck typing.

Signed-off-by: Paolo Bonzini <[email protected]>
@bonzini bonzini added this to the 1.11 milestone Nov 20, 2025
@bonzini bonzini added OS:windows Winodows OS specific issues dynamic linkers Dynamic linkers (ld, link, lld-link, etc) labels Nov 20, 2025
Copy link
Member

@eli-schwartz eli-schwartz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me although it also looks like it should be a single commit. Hmm.

@jpakkane jpakkane merged commit b1b2298 into mesonbuild:master Nov 23, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dynamic linkers Dynamic linkers (ld, link, lld-link, etc) OS:windows Winodows OS specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants