diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-15 21:24:06 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-16 00:47:11 +0100 |
commit | b348e73b81f9b5fa350defe313810c2770063827 (patch) | |
tree | 46f1df2a29fcab52d1d64e0919ab337a334591c2 | |
parent | 824f99a67721584b43544ed561236e6bbec24fed (diff) |
Don't ignore errors in the test suite.
-rw-r--r-- | libbindgen/build.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libbindgen/build.rs b/libbindgen/build.rs index 228a7f22..98bb76a9 100644 --- a/libbindgen/build.rs +++ b/libbindgen/build.rs @@ -38,13 +38,14 @@ mod testgen { .replace(|c| !char::is_alphanumeric(c), "_") .replace("__", "_") .to_lowercase(); - let _ = writeln!(dst, "test_header!(header_{}, {:?});", - func, entry.path()); + writeln!(dst, "test_header!(header_{}, {:?});", + func, entry.path()).unwrap(); } _ => {} } } - let _ = dst.flush(); + + dst.flush().unwrap(); } } |