about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect/tests/features.rs
blob: 7fe81d3e7fe49af0d28df8ff4c57b069cc387cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![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();
    }
}