rust-cross / cargo-zigbuild

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

Support forwarding subcommand `locate-project` please #195

Closed NobodyXu closed 10 months ago

NobodyXu commented 10 months ago

cargo-hack v0.6.12 uses cargo locate-project, when trying to use cargo-hack with cargo-zigbuild by doing:

export CARGO=cargo-zigbuild
cargo-hack hack check ...

It will failed with:

error: process didn't exit successfully: `cargo-zigbuild locate-project` (exit status: 2)
--- stderr
error: The subcommand 'locate-project' wasn't recognized

This happens in our CI and it suddenly breaks due to new release from cargo-hack.

NobodyXu commented 10 months ago

Thank you!