summaryrefslogtreecommitdiff
path: root/tests/headers/use-core.h
diff options
context:
space:
mode:
authorEmil Gardström <emil.gardstrom@gmail.com>2022-02-25 21:45:58 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2022-03-15 03:58:40 +0100
commit26fed0967cd79d363a3b6f39de29a1f7d9eab0ac (patch)
tree711167378574712b281defb79540a5171f02ea5e /tests/headers/use-core.h
parent4a5ae0884da76d6d8538a6cc607e5dba144842db (diff)
disable some tests on windows
This is due to differences in representation of `signed long` and `unsigned long` on most Linux-based systems and Windows (`64` vs. `32` bits)
Diffstat (limited to 'tests/headers/use-core.h')
-rw-r--r--tests/headers/use-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/headers/use-core.h b/tests/headers/use-core.h
index b4135b44..5ee0ac6f 100644
--- a/tests/headers/use-core.h
+++ b/tests/headers/use-core.h
@@ -1,4 +1,4 @@
-// bindgen-flags: --use-core --raw-line "extern crate core;" --with-derive-hash --with-derive-partialeq --with-derive-eq
+// bindgen-flags: --use-core --raw-line '#![cfg(not(target_os="windows"))] extern crate core;' --with-derive-hash --with-derive-partialeq --with-derive-eq
struct foo {
int a, b;