https://bugzilla.redhat.com/show_bug.cgi?id=2161518
--- Comment #26 from Lumír Balhar lbalhar@redhat.com --- It seems that setuptools_rust combines the RUSTFLAGS env variable with rustflags argument, see https://github.com/PyO3/setuptools-rust/pull/103 So it should not matter which one you use.