cargo-zigbuild
cargo-zigbuild copied to clipboard
cargo-zigbuild doesn't seem to utilize cargo config
in .cargo/config.toml you can do:
[build]
target = "aarch64-unknown-linux-gnu"
Cargo zigbuild doesn't appear to actually use this value, because it errors if I don't pass --target aarch64-unknown-linux-gnu
error occurred: Failed to find tool. Is `aarch64-linux-gnu-gcc` installed?
But explicitly passing the --target works.
Only rustflags is read from cargo config currently.