about summary refs log tree commit diff
path: root/tvix/eval/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src')
-rw-r--r--tvix/eval/src/builtins/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs
index 0003bddbf224..21509cb10d8f 100644
--- a/tvix/eval/src/builtins/mod.rs
+++ b/tvix/eval/src/builtins/mod.rs
@@ -899,6 +899,13 @@ mod pure_builtins {
             .map(Value::String)
     }
 
+    #[builtin("placeholder")]
+    fn builtin_placeholder(vm: &mut VM, #[lazy] _: Value) -> Result<Value, ErrorKind> {
+        // TODO(amjoseph)
+        vm.emit_warning(WarningKind::NotImplemented("builtins.placeholder"));
+        Ok("<builtins.placeholder-is-not-implemented-in-tvix-yet>".into())
+    }
+
     #[builtin("trace")]
     fn builtin_trace(_: &mut VM, message: Value, value: Value) -> Result<Value, ErrorKind> {
         // TODO(grfn): `trace` should be pluggable and capturable, probably via a method on