Skip to content

Commit

Permalink
Improve error output
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Sep 17, 2019
1 parent ddf07ea commit cf096e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ctest"
version = "0.2.20"
version = "0.2.21"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1897,8 +1897,8 @@ impl<'a> Generator<'a> {
if (size != rust_size) {{
fprintf(
stderr,
"size of {cty} is %d in C and %d in Rust",
size, rust_size
"size of {cty} is %d in C and %d in Rust\n",
(int)size, (int)rust_size
);
*error = 1;
return value;
Expand Down

0 comments on commit cf096e1

Please sign in to comment.