Function tvix_eval::compiler::compile_src_builtin
source · fn compile_src_builtin(
name: &'static str,
code: &str,
source: SourceCode,
weak: &Weak<GlobalsMap>
) -> Value
Expand description
Create a delayed source-only builtin compilation, for a builtin which is written in Nix code.
Important: tvix panics if a builtin with invalid source code is supplied. This is because there is no user-friendly way to thread the errors out of this function right now.