← All docs
stream_context_set_default() — internals
Compiler internals for stream_context_set_default(): lowering path, type checks, and runtime helpers.
stream_context_set_default() — internals
Where it lives
- Signature:
src/builtins/io/stream_context_set_default.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:1086 (lower_stream_context_set_default) - Function symbol:
lower_stream_context_set_default()
Lowering notes
- Lowers
stream_context_set_default(options).
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function stream_context_set_default(array $options): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_context_set_default.rs(eval_builtin!) - Dispatch hooks:
direct,values