You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to my benches/main.rs and configured criterion as follows:
[dev-dependencies]
criterion = { version = "0.3" }
[[bench]]
name = "main"harness = false
Within benches/main.rs, I can use that feature. However, when I add mod uint; to benches/main.rs and use the portable_simd feature from within benches/uint.rs, I get the following error:
error[E0658]: use of unstable library feature 'portable_simd'
--> benches/uint.rs:1:17
|
1 | use std::simd::{LaneCount, SupportedLaneCount};
| ^^^^^^^^^
|
= note: see issue #86656 <https://github.com/rust-lang/rust/issues/86656> for more information
= help: add `#![feature(portable_simd)]` to the crate attributes to enable
The text was updated successfully, but these errors were encountered:
I added
#![feature(portable_simd)]
to my
benches/main.rs
and configured criterion as follows:Within
benches/main.rs
, I can use that feature. However, when I addmod uint;
tobenches/main.rs
and use theportable_simd
feature from withinbenches/uint.rs
, I get the following error:The text was updated successfully, but these errors were encountered: