← All docs
sys_get_temp_dir() — internals
Compiler internals for sys_get_temp_dir(): lowering path, type checks, and runtime helpers.
sys_get_temp_dir() — internals
Where it lives
- Signature:
src/builtins/io/sys_get_temp_dir.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:5399 (lower_sys_get_temp_dir) - Function symbol:
lower_sys_get_temp_dir()
Lowering notes
- Lowers
sys_get_temp_dir()as the project’s hardcoded/tmpstring.
Runtime helpers
The following runtime helpers are referenced:
__rt_tmpfile
Signature summary
function sys_get_temp_dir(): string
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/sys_get_temp_dir.rs(eval_builtin!) - Dispatch hooks:
direct,values