Pass --cap-lints=warn to the RUSTFLAGS

It is simply impossible to fight against people putting
 #![deny(warnings)] into the code…

Closes: https://pagure.io/fedora-rust/rust2rpm/issue/98
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-12-03 19:11:20 +01:00
parent dd5bd74495
commit a6bde5599a
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -7,6 +7,7 @@
-Cdebuginfo=2
-Clink-arg=-Wl,-z,relro,-z,now
-Ccodegen-units=1
--cap-lints=warn
}
%__global_rustflags %{build_rustflags}