cargo-zigbuild icon indicating copy to clipboard operation
cargo-zigbuild copied to clipboard

Filter unsupported linker args

Open messense opened this issue 2 years ago • 1 comments
trafficstars

zig master starts to fail hard on unsupported linker args recently: https://github.com/ziglang/zig/pull/11906

See alo

  • https://github.com/ziglang/zig/issues/14663
  • https://github.com/search?q=repo%3Aziglang%2Fzig+%22unsupported+linker+arg%22++&type=issues&state=open

messense avatar Feb 25 '23 02:02 messense

Maybe we can try a generic way to detect unsupported linker args via: https://docs.rs/cc/latest/cc/struct.Build.html#method.is_flag_supported

messense avatar Mar 12 '23 02:03 messense