Silence warnings about unused constants due to #[cfg(...)]

This commit is contained in:
Michael Pfaff 2024-03-14 16:49:30 -04:00
parent 49ee38db90
commit c97d16f759
1 changed files with 4 additions and 0 deletions

View File

@ -5,8 +5,12 @@ use crate::util;
use util::cast;
// these may be unused depending on target features.
#[allow(unused)]
const W_128: usize = 128 / 8;
#[allow(unused)]
const W_256: usize = 256 / 8;
#[allow(unused)]
const W_512: usize = 512 / 8;
/// The value which cause `vpshufb` to write 0 instead of indexing.