Ah, sorry, it's apparently a rustc flag, so you need to use RUSTFLAGS or cargo rustc.
RUSTFLAGS
cargo rustc