Skip to content

Commit def0d96

Browse files
committed
builtin: make Debug.Log write to stderr instead of stdout
1 parent 976441f commit def0d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/par/builtin/debug.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ pub fn external_module() -> Module<Arc<process::Expression<()>>> {
2323

2424
async fn debug_log(mut handle: Handle) {
2525
let string = handle.receive().string().await;
26-
println!("{}", string.as_str());
26+
eprintln!("{}", string.as_str());
2727
handle.break_();
2828
}

0 commit comments

Comments
 (0)