https://bugzilla.redhat.com/show_bug.cgi?id=2161518
--- Comment #25 from Fabio Valentini decathorpe@gmail.com --- Does setuptools_rust set the RUSTFLAGS environment variable to an empty string by any chance? I have encountered a similar problem with maturin before, so it's possible that setuptools_rust has a similar bug.