archmage 0.9.21

Safely invoke your intrinsic power, using the tokens granted to you by the CPU. Cast primitive magics faster than any mage alive.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Test that SimdToken produces a clear error in #[arcane].
//!
//! SimdToken has no CPU features, so the macro can't determine which
//! #[target_feature] to enable.

use archmage::arcane;

#[arcane]
fn bad_simdtoken(token: impl archmage::SimdToken, data: &[f32]) -> f32 {
    0.0
}

fn main() {}