about summary refs log tree commit diff
path: root/tvix/eval/src/builtins
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-05-12T08·16+0300
committerclbot <clbot@tvl.fyi>2023-05-12T12·50+0000
commit969fbcd6d491d072b95d97bab6ef12efffd5f2bd (patch)
tree48e7175fa25cc28b5f5f1e5fd2aeecfa447acbfe /tvix/eval/src/builtins
parent6a30eb69e067afd541312b3eb4d68416c6734e2d (diff)
fix(tvix/eval): builtins.trace prints to stderr r/6135
Change-Id: Icf577396035474d6977e627058aba5805c61985e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8563
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/eval/src/builtins')
-rw-r--r--tvix/eval/src/builtins/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs
index 464809b270e0..d774e8813814 100644
--- a/tvix/eval/src/builtins/mod.rs
+++ b/tvix/eval/src/builtins/mod.rs
@@ -901,7 +901,7 @@ mod pure_builtins {
     async fn builtin_trace(co: GenCo, message: Value, value: Value) -> Result<Value, ErrorKind> {
         // TODO(grfn): `trace` should be pluggable and capturable, probably via a method on
         // the VM
-        println!("trace: {} :: {}", message, message.type_of());
+        eprintln!("trace: {} :: {}", message, message.type_of());
         Ok(value)
     }