← All docs
date_default_timezone_get() — internals
Compiler internals for date_default_timezone_get(): lowering path, type checks, and runtime helpers.
date_default_timezone_get() — internals
Where it lives
- Signature:
src/builtins/system/date_default_timezone_get.rs - Lowering:
src/codegen/lower_inst/builtins/system.rs:70 (lower_date_default_timezone_get) - Function symbol:
lower_date_default_timezone_get()
Lowering notes
- Lowers
date_default_timezone_get()through the shared runtime helper. - Takes no arguments;
__rt_date_default_timezone_getreturns the stored timezone - identifier (or the literal
"UTC"when none was set) in the string-result registers.
Runtime helpers
The following runtime helpers are referenced:
__rt_date_default_timezone_get__rt_date_default_timezone_set
Signature summary
function date_default_timezone_get(): string
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/time/date_default_timezone_get.rs(eval_builtin!) - Dispatch hooks:
direct,values