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
error: arcane requires a token parameter. Supported forms:
       - Concrete: `token: X64V3Token`
       - impl Trait: `token: impl HasX64V2`
       - Generic: `fn foo<T: HasX64V2>(token: T, ...)`
       - With self: `#[arcane(_self = Type)] fn method(&self, token: impl HasNeon, ...)`
 --> tests/compile_fail/unknown_generic_bound.rs:8:1
  |
8 | fn bad_generic<T: HasFma>(token: T, data: &[f32]) -> f32 {
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^