Bug 1771827 - Don't enable the aarch64_target_feature feature on rustc 1.61.0. r=gfx-reviewers,jrmuizel

because it's stable as of that version.

Differential Revision: https://phabricator.services.mozilla.com/D147706
This commit is contained in:
Mike Hommey 2022-05-31 00:50:09 +00:00
Родитель d2f6bd5b5c
Коммит 7b58e2b833
2 изменённых файлов: 8 добавлений и 1 удалений

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

@ -14,4 +14,7 @@ fn main() {
if version().unwrap() >= Version::parse("1.60.0-alpha").unwrap() {
println!("cargo:rustc-cfg=std_arch");
}
if version().unwrap() < Version::parse("1.61.0-alpha").unwrap() {
println!("cargo:rustc-cfg=aarch64_target_feature");
}
}

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

@ -10,7 +10,11 @@
#![cfg_attr(feature = "neon", feature(stdsimd))]
#![cfg_attr(
feature = "neon",
feature(aarch64_target_feature, arm_target_feature, raw_ref_op)
feature(arm_target_feature, raw_ref_op)
)]
#![cfg_attr(
all(feature = "neon", aarch64_target_feature),
feature(aarch64_target_feature)
)]
/// These values match the Rendering Intent values from the ICC spec