-
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1882291. Switch to stdarch_arm_neon_intrinsics feature on rust >=…
…1.78. r=glandium We only need this on ARM32 because the ARM64 intrinsics are stable. stdarch_arm_neon_intrinsics was split out from stdsimd here: rust-lang/stdarch#1486 Differential Revision: https://phabricator.services.mozilla.com/D203039
- Loading branch information
Showing
4 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,6 @@ cmyk = [] | |
|
||
[dependencies] | ||
libc = {version = "0.2", optional = true } | ||
|
||
[build-dependencies] | ||
version_check = "0.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extern crate version_check as rustc; | ||
|
||
fn main() { | ||
if rustc::is_min_version("1.78.0").unwrap_or(false) { | ||
println!("cargo:rustc-cfg=stdsimd_split"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters