← All docs
hash_copy() — internals
Compiler internals for hash_copy(): lowering path, type checks, and runtime helpers.
hash_copy() — internals
Where it lives
- Signature:
src/builtins/string/hash_copy.rs - Lowering:
src/codegen/lower_inst/builtins/strings.rs:350 (lower_hash_copy) - Function symbol:
lower_hash_copy()
Lowering notes
- Lowers
hash_copy(context)through the incremental hash clone helper.
Runtime helpers
The following runtime helpers are referenced:
__rt_crc32__rt_hash_copy
Signature summary
function hash_copy(resource $context): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/string/hash_copy.rs(eval_builtin!) - Dispatch hooks:
direct,values