summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index b3d0e735..66e70859 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -1,3 +1,9 @@
+// We add this `extern crate` here to ensure that bindgen is up-to-date and
+// rebuilt, even though we aren't using any of its types or functions here, only
+// indirectly calling the executable.
+#[allow(dead_code)]
+extern crate bindgen;
+
use std::env;
use std::fs;
use std::io::Read;