diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/command_base.py | 2 | ||||
-rw-r--r-- | python/tidy/servo_tidy_tests/rust_tidy.rs | 1 |
2 files changed, 2 insertions, 1 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([ diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs index c1be1695156..a4d662e2c6e 100644 --- a/python/tidy/servo_tidy_tests/rust_tidy.rs +++ b/python/tidy/servo_tidy_tests/rust_tidy.rs @@ -10,7 +10,6 @@ use euclid::Size2D; use azure::azure::AzIntSize; use azure::azure::{AzIntSize}; -use std; mod paint_context; pub mod display_list; |