rust-lang / cc-rs

Rust library for build scripts to compile C/C++ code into a Rust library
https://docs.rs/cc
Apache License 2.0
1.79k stars 434 forks source link

Regenerate windows sys bindings #1129

Closed github-actions[bot] closed 1 month ago

github-actions[bot] commented 1 month ago

Automatically regenerated in CI

NobodyXu commented 1 month ago

Obviously newer version of windows-bindgen changes the code generation rule and start using other dependencies as well...

Will have to re-configure and get back the old behavior.

NobodyXu commented 1 month ago

I took at look at the new dependencies windows-targets, it is very simple and just include a few macro_rules! necessary to generate binding.

I think adding it to cc as a dependencies make sense, reopen this.

NobodyXu commented 1 month ago

Oh it also introduces windows-core as a dependency, which is too large...