We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1078be3 commit 8207e55Copy full SHA for 8207e55
ci/run.sh
@@ -39,6 +39,7 @@ cargo_test "--release"
39
case ${TARGET} in
40
x86*)
41
RUSTFLAGS="${RUSTFLAGS} -C target-feature=+avx"
42
+ export STDSIMD_IGNORE_ASSERT_INSTR=1
43
cargo_test "--release"
44
;;
45
*)
crates/assert-instr-macro/src/lib.rs
@@ -33,7 +33,8 @@ pub fn assert_instr(
33
};
34
35
let instr = &invoc.instr;
36
- let maybe_ignore = if cfg!(optimized) {
+ let maybe_ignore = if cfg!(optimized) ||
37
+ ::std::env::var("STDSIMD_IGNORE_ASSERT_INSTR").is_ok() {
38
TokenStream::empty()
} else {
(quote! { #[ignore] }).into()
0 commit comments