← All docs
passthru() — internals
Compiler internals for passthru(): lowering path, type checks, and runtime helpers.
passthru() — internals
Where it lives
- Signature:
src/builtins/system/passthru.rs - Lowering:
src/codegen/lower_inst/builtins/system.rs:714 (lower_passthru) - Function symbol:
lower_passthru()
Lowering notes
- Lowers
passthru(command)through libcsystem()for direct stdout passthrough.
Runtime helpers
The following runtime helpers are referenced:
__rt_cstr__rt_shell_exec
Signature summary
function passthru(string $command): void
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/network_env/passthru.rs(eval_builtin!) - Dispatch hooks:
direct,values