Skip to content

Conversation

@fahdfady
Copy link
Collaborator

@fahdfady fahdfady commented Dec 9, 2025

This PR aims to better metacall-sys dev experience. Users should not make a build script and run metacall-sys::build by themselves. Like other -sys crates, metacall-sys should link for all crates that want to link to MetaCall.

The reason the -sys pattern exists is to ensure that if multiple crates (or multiple versions of the high level bindings) depend on the same library, you don't get two conflicting versions linked in.

solve conflicts by removing build.rs and making metacall-sys crate regular dependency
@fahdfady fahdfady changed the title move lib.rs to build.rs and solve conflicts Improve metacall-sys crate Dec 10, 2025
@josead
Copy link
Member

josead commented Dec 10, 2025

@fahdfady I have done some changes, it may generate breaking changes. Now rust port works on windows. If you can solve the issue we should port it to the new changes I have done.

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.

2 participants