diff options
Diffstat (limited to 'gfx/qcms/build.rs')
-rw-r--r-- | gfx/qcms/build.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gfx/qcms/build.rs b/gfx/qcms/build.rs new file mode 100644 index 0000000000..6810a8828e --- /dev/null +++ b/gfx/qcms/build.rs @@ -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"); + } +} |