Skip to main content

INTRINSICS

Constant INTRINSICS 

Source
pub const INTRINSICS: &[IntrinsicDef];
Expand description

The canonical list of every intrinsic the compiler recognizes.

Adding an intrinsic: append a new IntrinsicDef here, extend IntrinsicId with a matching variant, and implement the per-intrinsic behavior arms in sema/codegen (the compiler’s exhaustive matches will force you to).