fix(tvix/eval): builtins.trace prints to stderr
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>
This commit is contained in:
parent
6a30eb69e0
commit
969fbcd6d4
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,7 @@ mod pure_builtins {
|
||||||
async fn builtin_trace(co: GenCo, message: Value, value: Value) -> Result<Value, ErrorKind> {
|
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
|
// TODO(grfn): `trace` should be pluggable and capturable, probably via a method on
|
||||||
// the VM
|
// the VM
|
||||||
println!("trace: {} :: {}", message, message.type_of());
|
eprintln!("trace: {} :: {}", message, message.type_of());
|
||||||
Ok(value)
|
Ok(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue