rust-lang / rust-bindgen

Automatically generates Rust FFI bindings to C (and some C++) libraries.
https://rust-lang.github.io/rust-bindgen/
BSD 3-Clause "New" or "Revised" License
4.23k stars 679 forks source link

Print CLI errors to stderr instead of stdout #2840

Closed sirhcel closed 2 weeks ago

sirhcel commented 1 month ago

This prevents them of sneaking into output files instead of being displayed when manually generating bindings by redirecting stdout.

Similar to #1031, the CLI should print to stderr too.