diff options
-rw-r--r-- | tvix/eval/src/builtins/mod.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs index 8ae0ae02d6ad..295d94b73523 100644 --- a/tvix/eval/src/builtins/mod.rs +++ b/tvix/eval/src/builtins/mod.rs @@ -518,6 +518,18 @@ mod pure_builtins { ))) } + #[builtin("hashString")] + #[allow(non_snake_case)] + async fn builtin_hashString( + co: GenCo, + _algo: Value, + _string: Value, + ) -> Result<Value, ErrorKind> { + Ok(Value::Catchable(CatchableErrorKind::UnimplementedFeature( + "hashString".to_string(), + ))) + } + #[builtin("head")] async fn builtin_head(co: GenCo, list: Value) -> Result<Value, ErrorKind> { match list.to_list()?.get(0) { |