Skip to content

Commit 479b8cc

Browse files
authored
Use stderr for diagnostics (#1032)
1 parent ea1f14e commit 479b8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/wit-bindgen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fn main() -> Result<()> {
146146
Some(path) => path.join(name),
147147
None => name.into(),
148148
};
149-
println!("Generating {:?}", dst);
149+
eprintln!("Generating {:?}", dst);
150150

151151
if opt.check {
152152
let prev = std::fs::read(&dst).with_context(|| format!("failed to read {:?}", dst))?;

0 commit comments

Comments
 (0)