rust-cross/cargo-zigbuild

cargo-zigbuild doesn't seem to utilize cargo config

Opened this issue · 1 comments

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.