rust-cross / cargo-zigbuild

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

unsupported linker arg: -exported_symbols_list #164

Open sigmaSd opened 1 year ago

sigmaSd commented 1 year ago

error: unsupported linker arg: -exported_symbols_list

I understand that zig 0.11.0 errors on unrecognized flags, should unknown flags be hardcoded ? if that's the case I can add it to zig.rs

messense commented 1 year ago

Feel free to send a PR.

messense commented 11 months ago

Partially fixed by #171, -Wl,-exported_symbols_list,<path> is handled but -Wl,-exported_symbols_list <path> isn't handled yet.