Open TheButlah opened 5 months ago
in .cargo/config.toml you can do:
.cargo/config.toml
[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
--target aarch64-unknown-linux-gnu
error occurred: Failed to find tool. Is `aarch64-linux-gnu-gcc` installed?
But explicitly passing the --target works.
--target
Only rustflags is read from cargo config currently.
rustflags
in
.cargo/config.toml
you can do:Cargo zigbuild doesn't appear to actually use this value, because it errors if I don't pass
--target aarch64-unknown-linux-gnu
But explicitly passing the
--target
works.