Module rustc_const_eval::interpret::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§

  • Directly returns an Allocation containing an absolute path representation of the given type.
  • 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.