cargo-zigbuild
cargo-zigbuild copied to clipboard
zig: error: version '.2.17' in target triple 'x86_64-unknown-linux-gnu.2.17' is invalid
I try to use cargo-zigbuild to build helix by the following command
> helix/helix-term
cargo zigbuild --target x86_64-unknown-linux-gnu.2.17 --release
I get
warning: [email protected]: zig: error: version '.2.17' in target triple 'x86_64-unknown-linux-gnu.2.17' is invalid
The resulting binary has no problem though.
I had the same issue with error messages about sccache:
Caused by: Failed to run zig linker wrapper
...
sccache: `SCCACHE_START_SERVER=1` can't be used with other commands
Setting SCCACHE_START_SERVER=0 during the build resolved it.