Backed out changeset d8d8af44ae92 (bug 1531655) for artifact build bustage. CLOSED TREE

This commit is contained in:
Csoregi Natalia 2019-03-01 12:03:03 +02:00
Родитель a23137f08f
Коммит 5dc35283f1
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -705,14 +705,11 @@ set_config('MOZ_ENABLE_WEBRENDER', webrender.enable)
option('--enable-rust-simd', env='MOZ_RUST_SIMD',
help='Enable explicit SIMD in Rust code.')
@depends('--enable-rust-simd', target, rustc_info)
def rust_simd(value, target, rustc_info):
@depends('--enable-rust-simd', target)
def rust_simd(value, target):
# As of 2018-06-05, the simd crate only works on aarch64,
# armv7, x86 and x86_64.
if target.cpu in ('aarch64', 'arm', 'x86', 'x86_64') and value:
if rustc_info.version >= Version('1.33.0'):
die('--enable-rust-simd does not work with Rust 1.33 or later. '
'See https://bugzilla.mozilla.org/show_bug.cgi?id=1521249 .')
return True
set_config('MOZ_RUST_SIMD', rust_simd)