summaryrefslogtreecommitdiff
path: root/libc-test/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc-test/build.rs')
-rw-r--r--libc-test/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 8ab5d89592..c269d80d88 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -389,7 +389,7 @@ fn test_openbsd(target: &str) {
cfg.skip_field_type(move |struct_, field| {
// type siginfo_t.si_addr changed from OpenBSD 6.0 to 6.1
- (struct_ == "siginfo_t" && field == "si_addr")
+ struct_ == "siginfo_t" && field == "si_addr"
});
cfg.generate("../src/lib.rs", "main.rs");