zig icon indicating copy to clipboard operation
zig copied to clipboard

Compile for windows gnu on Mac M1

Open xdm67x opened this issue 2 years ago • 0 comments

Zig Version

0.10.1

Steps to Reproduce and Observed Behavior

I wanted to use the project cargo-zigbuild to cross build my Rust program using ziglang. The issue is that one of the library is not ship with the version of zig used,

warning: unsupported linker arg: /var/folders/z1/tj3rwht518jgd4f89573gph40000gn/T/rustcaeAJFU/list.def
          error(link): DLL import library for -lsynchronization not found
          error: DllImportLibraryNotFound

https://github.com/rust-cross/cargo-zigbuild/issues/112#issuecomment-1469531917

Expected Behavior

I can cross build without having the synchronization lib issue.

xdm67x avatar Mar 15 '23 08:03 xdm67x