File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ pub fn main() {
38
38
if verbose {
39
39
print_verbose_err ( )
40
40
}
41
- println ! ( "{}" , info) ;
41
+ eprintln ! ( "{}" , info) ;
42
42
} ) ) ;
43
43
44
44
let bindings =
@@ -49,21 +49,21 @@ pub fn main() {
49
49
bindings. write ( output) . expect ( "Unable to write output" ) ;
50
50
}
51
51
Err ( error) => {
52
- println ! ( "{}" , error) ;
52
+ eprintln ! ( "{}" , error) ;
53
53
std:: process:: exit ( 1 ) ;
54
54
}
55
55
} ;
56
56
}
57
57
58
58
fn print_verbose_err ( ) {
59
- println ! ( "Bindgen unexpectedly panicked" ) ;
60
- println ! (
59
+ eprintln ! ( "Bindgen unexpectedly panicked" ) ;
60
+ eprintln ! (
61
61
"This may be caused by one of the known-unsupported \
62
62
things (https://rust-lang.github.io/rust-bindgen/cpp.html), \
63
63
please modify the bindgen flags to work around it as \
64
64
described in https://rust-lang.github.io/rust-bindgen/cpp.html"
65
65
) ;
66
- println ! (
66
+ eprintln ! (
67
67
"Otherwise, please file an issue at \
68
68
https://github.com/rust-lang/rust-bindgen/issues/new"
69
69
) ;
You can’t perform that action at this time.
0 commit comments