Module intrinsics

Source
Expand description

Intrinsics and other functions that the interpreter executes without looking at their MIR. Intrinsics/functions supported here are shared by CTFE and miri.

Functions§

alloc_type_name 🔒
Directly returns an Allocation containing an absolute path representation of the given type.
eval_nullary_intrinsic 🔒
The logic for all nullary intrinsics is implemented here. These intrinsics don’t get evaluated inside an InterpCx and instead have their value computed directly from rustc internal info.