diff options
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") { |