aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-11-05 19:10:30 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-11-08 09:28:00 +0100
commit50c840fe42f4bf91019e9e585ee9c1c85cde232e (patch)
tree54771cfe9e105dda7fffbbc7be0ecb379490acc8
parent2012be4a8bd97f2fd69f986c8fffb1af1eec21dc (diff)
downloadservo-50c840fe42f4bf91019e9e585ee9c1c85cde232e.tar.gz
servo-50c840fe42f4bf91019e9e585ee9c1c85cde232e.zip
Revert "Disable unused-extern-crates warnings for now"
This reverts commit 32462cd909a7c28d0d86664291bdcb0043c0bb45.
-rw-r--r--python/servo/command_base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 08382061379..3770de6c9cd 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -646,6 +646,8 @@ install them, let us know by filing a bug!")
if target.startswith('arm') or target.startswith('aarch64'):
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C target-feature=+neon"
+ env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -W unused-extern-crates"
+
git_info = []
if os.path.isdir('.git') and is_build:
git_sha = subprocess.check_output([