archmage-macros 0.9.31-beta.2

Proc-macros for archmage SIMD capability tokens
Documentation

archmage-macros

Official guide and examples · Intrinsics browser · Archmage API · Magetypes API

Procedural macros for archmage's CPU-capability tokens: #[arcane], #[rite], #[magetypes], #[autoversion], and incant!.

Application code should depend on archmage, which re-exports these macros and pins the compatible macro version. Add the magetypes vector crate when using vector types such as f32x4<T>. The #[magetypes] attribute generates variants; the magetypes crate supplies their vector operations.

Start with the complete SIMD call chain, then type and const generics. For internal feature-enabled helpers, see rite and from_context().

Macro expansion tests, compile-fail tests, and optimized-code comparisons cover different obligations. See the testing guide.

License

MIT OR Apache-2.0.

Unified macro beta

The 0.9.31 betas (currently 0.9.31-beta.2) add #[attune], attuned!, and reattune! through the archmage crate. Legacy attributes remain supported. Use the matching archmage version; its exact dependency pin keeps generated code and runtime APIs paired. See the beta guide.