Skip to main content

Module attributes

Module attributes 

Source
Expand description

Compiler attributes for SIMD optimization

Constantsยง

COLD
Cold code (rarely executed)
FORCE_INLINE
Force inlining for SIMD operations
HOT
Hot code (frequently executed)
NEVER_INLINE
Never inline (for larger functions)
NO_MANGLE
No mangle (for C FFI)
REPR_ALIGN
Repr align (for SIMD alignment)
REPR_C
Repr C (for C compatibility)
TARGET_FEATURE
Target-specific optimization