rust-cross / cargo-zigbuild

Compile Cargo project with zig as linker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unsupported linker arg: -dylib

serjflint opened this issue · comments

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"...

Thank you. Now it compiles.