Skip to content

Commit 3d5e2dc

Browse files
committed
Only perform target_feature integration test on x86-64
1 parent b0266a5 commit 3d5e2dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bon/tests/integration/builder/target_feature.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#[rustversion::since(1.86.0)]
2+
#[cfg(target_arch = "x86_64")]
23
mod msrv_1_86 {
34
#![allow(dead_code)]
45
use crate::prelude::*;
@@ -35,6 +36,7 @@ mod msrv_1_86 {
3536
#[target_feature(enable = "avx2")]
3637
#[allow(unsafe_code, reason = "we don't do anything with it")]
3738
unsafe fn briiick() {
39+
let x: &str = 1
3840
Senti::builder().brick(Brick([0; 32])).yatta_but_wide();
3941
}
4042
}

0 commit comments

Comments
 (0)