bindgen: skip layout tests
They're specific to the host that ran bindgen, which causes the windows build to fail if bindgen ran on linux for example.
This commit is contained in:
1 parent
db586a867b
commit
660e52d309
4 files changed
+4
-4273
No files matched your search
Vendored
+3
-2
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
bindgen bindings.h -o src/lib.rs \
|
||||
--no-layout-tests \
|
||||
--no-doc-comments \
|
||||
--blacklist-type "FT_(Int16|UInt16|Int32|UInt32|Int16|Int64|UInt64)" \
|
||||
--raw-line "#![allow(non_snake_case)]" \
|
||||
@@ -10,8 +11,8 @@ bindgen bindings.h -o src/lib.rs \
|
||||
--raw-line "pub type FT_UInt16 = u16;" \
|
||||
--raw-line "pub type FT_Int32 = i32;" \
|
||||
--raw-line "pub type FT_UInt32 = u32;" \
|
||||
--raw-line "pub type FT_Int64= i64;" \
|
||||
--raw-line "pub type FT_UInt64= u64;" \
|
||||
--raw-line "pub type FT_Int64 = i64;" \
|
||||
--raw-line "pub type FT_UInt64 = u64;" \
|
||||
--default-enum-style rust \
|
||||
--generate=functions,types,vars \
|
||||
--whitelist-function="FT_.*" \
|
||||
|
||||
Vendored
-2231
File diff suppressed because it is too large.
Load diff
Vendored
+1
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
bindgen bindings.h -o src/lib.rs \
|
||||
--no-layout-tests \
|
||||
--no-doc-comments \
|
||||
--raw-line "#![allow(non_snake_case)]" \
|
||||
--raw-line "#![allow(non_camel_case_types)]" \
|
||||
|
||||
Vendored
-2040
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user