diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2018-07-22 00:00:09 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-21 11:00:09 -0400 |
commit | 3563638693fa2736fd86f4cae711a276b548050b (patch) | |
tree | 05b8a0dff024b6862a8d4d44cff0584d286902d8 /build_extra/rust/BUILD.gn | |
parent | 89c7554d4a9f9b4c83a91b43575db9aa5d3964a4 (diff) |
Fix some warnings (#379)
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r-- | build_extra/rust/BUILD.gn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index f5c85319a..b94cfe372 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -26,6 +26,13 @@ rust_component("url") { rust_component("percent_encoding") { source_root = "$crates/registry/src/github.com-1ecc6299db9ec823/percent-encoding-1.0.1/lib.rs" + args = [ + # TODO: Suppress some warnings at this moment + # This should be removed when it's fixed in servo/rust-url repository + # https://github.com/servo/rust-url/issues/455 + "-Aunused-imports", + "-Adeprecated", + ] } rust_component("matches") { |