about summary refs log tree commit diff
path: root/tvix/eval/src/builtins
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-23T15·25+0300
committerclbot <clbot@tvl.fyi>2022-09-23T17·37+0000
commite7d24fd2b8baea2c229a324ceae7259793b0e5e0 (patch)
tree1d768e3b51f32523389a1cd014e086520eae5bb4 /tvix/eval/src/builtins
parentf816813d41271043473f8740bbc8c257f9b54982 (diff)
chore(tvix/eval): mark coerce_value_to_path as intentionally unused r/4964
This was added in preparation for some builtins that don't exist yet
and is producing some noise during compilation.

Change-Id: I51fb0d14c3edf0bd6d9a288d50e44dacf35166c6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6769
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/builtins')
-rw-r--r--tvix/eval/src/builtins/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs
index 17094a6f9452..80c1fac2c0e2 100644
--- a/tvix/eval/src/builtins/mod.rs
+++ b/tvix/eval/src/builtins/mod.rs
@@ -29,6 +29,7 @@ pub mod versions;
 /// a Nix program directly (i.e. the trick `path: /. + path` to convert from
 /// a string to a path wouldn't hit this code), so the target file
 /// doesn't need to be realised or imported into the Nix store.
+#[allow(dead_code)] // TODO(sterni): remove this once the function is in use
 pub fn coerce_value_to_path(v: &Value, vm: &mut VM) -> Result<PathBuf, ErrorKind> {
     let value = v.force(vm)?;
     match &*value {