messense
messense
This change is part of the following stack: - #2345 ◀ Change managed by [git-spice](https://abhinav.github.io/git-spice/).
I'm unable to reproduce it on macOS: ``` maturin build --release -i 3.12 pypy3.9 pypy3.10 Updating crates.io index 📦 Including license file "/Users/messense/Projects/tmp/uuid-utils/LICENSE.md" 🍹 Building a mixed python/rust project 🔗...
sorry I don't own a Windows dev machine currently so please feel free to look into it if you need the bug fixed, thanks.
Pull requests are welcome to add support for it!
Can you try filter out it in here? https://github.com/rust-cross/cargo-zigbuild/blob/d420792226cef24e8a718dbef87fec14df77f3d2/src/zig.rs#L105-L132 Thanks
FYI, `-lmsvcrt` seems to be added by Rust in https://github.com/rust-lang/rust/blob/b5723af3457b9cd3795eeb97e9af2d34964854f2/compiler/rustc_target/src/spec/base/windows_gnu.rs#L33-L44
https://github.com/bminor/glibc/commit/0ab341b247fc1c2cd101a87c78f38d2da00c335c It should have been defined by glibc itself (in glibc 2.38+), can you try to inspect the code of the same file in `/opt/zig/lib/libc/include/`?
Maybe it's caused by cmake? There is support for cmake in cargo-zigbuild but it's not really tested thoroughly. https://github.com/rust-cross/cargo-zigbuild/blob/d420792226cef24e8a718dbef87fec14df77f3d2/src/zig.rs#L475-L486
Mostly likely a `zig cc` issue since there isn't any special handling for DLL in this project, try to reproduce it using `zig cc` directly and report to zig for...
> Looks like it'd just be some changes in [`src/ci.rs`](https://github.com/PyO3/maturin/blob/c8689c643aa8c81fd2ac16288d399069926a0ac7/src/ci.rs#L81)? Yeah, pull requests are welcome!