tmi 0.10.0

twitch.tv messaging interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cfg_if::cfg_if! {
    // NOTE: avx512 is still nightly-only and unstable, so disabled for now
    /* if #[cfg(all(target_feature = "avx512f", target_feature = "avx512bw"))] {
        mod avx512;
        pub(crate) use avx512::Vector;
    } else */
    if #[cfg(target_feature = "avx2")] {
        mod avx2;
        pub(crate) use avx2::Vector;
    } else if #[cfg(target_feature = "sse2")] {
        mod sse2;
        pub(crate) use sse2::Vector;
    } else {
        compile_error!(
            "enable the `sse2`/`avx2` target features using `target-cpu=native`, or disable the `simd` feature"
        );
    }
}