Open
Description
There is RUSTGPU_CARGOFLAGS
, which allows to set additional cargo flags, but in contrast to RUSTGPU_CODEGEN_ARGS
, which has SpirvBuilder::extra_args
counterpart, this one doesn't have any yet.
It'd be helpful to have something like SpirvBuilder::cargo_flags
. While at it, I'd also rename extra_args
to codegen_args
.
BTW RUSTGPU_CARGOFLAGS
is inconsistent in naming with RUSTGPU_CODEGEN_ARGS
, should have been RUSTGPU_CARGO_FLAGS
, though it is then inconsistent with RUSTFLAGS
🤷