Skip to content

Conversation

ivan-aksamentov
Copy link
Member

In minimap-sys crate: this removes hardcoded bindings.rs in favor of always dynamically rebuilding them with rust-bindgen. The vendored feature of minimap-sys is removed and is always enabled now.

This is required to avoid clashes when compiling for different platforms and operating systems - the bindings are generated slightly differently on different setups.

It's a best practice anyways.

In `minimap-sys` crate: this removes hardcoded `bindings.rs` in favor of always dynamically rebuilding them with `rust-bindgen`. The `vendored` feature of `minimap-sys` is removed and is always enabled now.

This is required to avoid clashes when compiling for different platforms and operating systems - the bindings are generated slightly differently on different setups.

It's a [best practice](https://rust-lang.github.io/rust-bindgen/tutorial-3.html) anyways.
@ivan-aksamentov ivan-aksamentov merged commit d4494a1 into rust Dec 23, 2024
14 checks passed
@ivan-aksamentov ivan-aksamentov deleted the chore/minimap-bindings branch December 23, 2024 05:32
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.

1 participant