diff options
Diffstat (limited to 'build_extra/rust')
| -rw-r--r-- | build_extra/rust/BUILD.gn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index 6cc239fc8..6873195b2 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -69,6 +69,7 @@ rust_crate("cfg_if") { rust_crate("sha1") { source_root = "$registry_github/sha1-0.6.0/src/lib.rs" + args = [ "-Aunused_parens" ] # https://github.com/mitsuhiko/rust-sha1/issues/36 } rust_crate("tempfile") { @@ -259,6 +260,11 @@ rust_crate("iovec") { rust_crate("lazycell") { source_root = "$registry_github/lazycell-0.6.0/src/lib.rs" + args = [ + # TODO Remove these: + "-Aunused_unsafe", + "-Aunused_mut", + ] } rust_crate("net2") { @@ -367,6 +373,11 @@ rust_crate("hyper") { ":tokio_timer", ":want", ] + args = [ + # TODO Remove these. + "-Adeprecated", + "-Aunused_imports", + ] } rust_crate("tokio_core") { |
