We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8f27eb commit f74a52cCopy full SHA for f74a52c
tests/tests.rs
@@ -302,6 +302,7 @@ include!(concat!(env!("OUT_DIR"), "/tests.rs"));
302
fn test_header_contents() {
303
let actual = builder()
304
.header_contents("test.h", "int foo(const char* a);")
305
+ .clang_arg("--target=x86_64-unknown-linux")
306
.generate()
307
.unwrap()
308
.to_string();
@@ -330,6 +331,7 @@ fn test_multiple_header_calls_in_builder() {
330
331
"/tests/headers/func_ptr.h"
332
))
333
.header(concat!(env!("CARGO_MANIFEST_DIR"), "/tests/headers/char.h"))
334
335
336
337
0 commit comments