rust-cross / cargo-zigbuild

Compile Cargo project with zig as linker
MIT License
1.43k stars 51 forks source link

unsupported linker arg: -dylib #177

Closed serjflint closed 11 months ago

serjflint commented 11 months ago

I am cross-compiling Ruff from Ubuntu to MacOS and got another error when compiling pep440_rs: ..."-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "-undefined" "dynamic_lookup"...

messense commented 11 months ago

See also https://github.com/ziglang/zig/issues/14757

serjflint commented 11 months ago

Thank you. Now it compiles.