diff --git a/src/lib.rs b/src/lib.rs index bf6ab72..34eda2d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,7 +2,8 @@ #![no_main] #![feature(naked_functions)] #![feature(asm_const)] -#![feature(stdsimd)] +#![feature(cfg_version)] +#![cfg_attr(not(version("1.79")), feature(stdsimd))] #![feature(const_mut_refs)] #![feature(const_slice_from_raw_parts_mut)] #![cfg_attr(target_arch = "riscv64", feature(riscv_ext_intrinsics))]