File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,8 @@ fn setup_wrap_static_fns_test() {
301
301
)
302
302
. clang_arg ( "-DUSE_VA_HEADER" ) ;
303
303
304
+ // aarch64-linux has a bug, remove again when it is solved:
305
+ // https://github.com/rust-lang/rust-bindgen/issues/3234
304
306
#[ cfg( all( target_arch = "aarch64" , target_os = "linux" ) ) ]
305
307
{
306
308
builder = builder. clang_arg ( "-DDISABLE_VA" ) ;
@@ -323,6 +325,8 @@ fn setup_wrap_static_fns_test() {
323
325
. arg ( out_path. join ( "wrap_static_fns.c" ) )
324
326
. arg ( "-DUSE_VA_HEADER" ) ;
325
327
328
+ // aarch64-linux has a bug, remove again when it is solved:
329
+ // https://github.com/rust-lang/rust-bindgen/issues/3234
326
330
#[ cfg( all( target_arch = "aarch64" , target_os = "linux" ) ) ]
327
331
{
328
332
command. arg ( "-DDISABLE_VA" ) ;
Original file line number Diff line number Diff line change @@ -335,6 +335,8 @@ fn test_wrap_static_fns() {
335
335
extern_bindings:: takes_qualified ( & ( & 5 as * const _ ) as * const _ ) ;
336
336
assert_eq ! ( 5 , tq) ;
337
337
338
+ // aarch64-linux has a bug, enable again when it is solved:
339
+ // https://github.com/rust-lang/rust-bindgen/issues/3234
338
340
#[ cfg( not( all( target_arch = "aarch64" , target_os = "linux" ) ) ) ]
339
341
{
340
342
let wv1 = extern_bindings:: wrap_as_variadic_fn1_wrapped ( 0 ) ;
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ static inline int variadic(int x, ...) {
60
60
return x ;
61
61
}
62
62
63
+ // aarch64-linux has a bug, remove ifdef when it is solved:
64
+ // https://github.com/rust-lang/rust-bindgen/issues/3234
63
65
#ifndef DISABLE_VA
64
66
65
67
static inline void no_extra_argument (__builtin_va_list va ) {}
Original file line number Diff line number Diff line change @@ -726,6 +726,8 @@ fn test_wrap_static_fns() {
726
726
// TODO: If another such feature is added, convert this test into a more generic
727
727
// test that looks at `tests/headers/generated` directory.
728
728
729
+ // aarch64-linux has a bug, remove custom source when it is solved:
730
+ // https://github.com/rust-lang/rust-bindgen/issues/3234
729
731
let wrap_static_fns_c_name =
730
732
if cfg ! ( all( target_arch = "aarch64" , target_os = "linux" ) ) {
731
733
"wrap_static_fns_aarch64_linux"
@@ -748,6 +750,8 @@ fn test_wrap_static_fns() {
748
750
. wrap_static_fns_path ( generated_path. display ( ) . to_string ( ) )
749
751
. parse_callbacks ( Box :: new ( parse_callbacks:: WrapAsVariadicFn ) ) ;
750
752
753
+ // aarch64-linux has a bug, remove when it is solved:
754
+ // https://github.com/rust-lang/rust-bindgen/issues/3234
751
755
#[ cfg( all( target_arch = "aarch64" , target_os = "linux" ) ) ]
752
756
{
753
757
builder = builder. clang_arg ( "-DDISABLE_VA" ) ;
You can’t perform that action at this time.
0 commit comments