mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-09 21:58:00 +00:00
14 lines
244 B
Rust
14 lines
244 B
Rust
#![feature(stdsimd)]
|
|
#![feature(stdsimd_internal)]
|
|
|
|
extern crate std_detect;
|
|
|
|
use std_detect::detect::{features, Feature};
|
|
|
|
#[test]
|
|
fn features_roundtrip() {
|
|
for (f, _) in features() {
|
|
let _ = Feature::from_str(f).unwrap();
|
|
}
|
|
}
|