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:
parent
dd5bd74495
commit
a6bde5599a
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
-Cdebuginfo=2
|
-Cdebuginfo=2
|
||||||
-Clink-arg=-Wl,-z,relro,-z,now
|
-Clink-arg=-Wl,-z,relro,-z,now
|
||||||
-Ccodegen-units=1
|
-Ccodegen-units=1
|
||||||
|
--cap-lints=warn
|
||||||
}
|
}
|
||||||
|
|
||||||
%__global_rustflags %{build_rustflags}
|
%__global_rustflags %{build_rustflags}
|
||||||
|
|
Loading…
Reference in a new issue