Modules§
- check_
consts - Check the bodies of
const
s,static
s andconst fn
s for illegal operations. - const_
eval - errors 🔒
- interpret
- An interpreter for MIR used in CTFE and by miri
- util
Macros§
- enter_
trace_ span - Shortand for calling crate::interpret::Machine::enter_trace_span on a tracing::info_span.
This is supposed to be compiled out when crate::interpret::Machine::enter_trace_span has the
default implementation (i.e. when it does not actually enter the span but instead returns
()
). Note: the result of this macro must be used because the span is exited when it’s dropped.
Statics§
- CTRL_
C_ RECEIVED rustc_driver::main
installs a handler that will set this totrue
if the compiler has been sent a request to shut down, such as by a Ctrl-C. This static lives here because it is only read by the interpreter.- DEFAULT_
LOCALE_ RESOURCE - Raw content of Fluent resource for this crate, generated by
fluent_messages
macro, imported byrustc_driver
to include all crates’ resources in one bundle.