From 531443dc9c3d665c4636236b5ec022f59ab20dcf Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 17 Jun 2021 15:20:12 -0700 Subject: [PATCH] Don't generate bindgen layout tests --- gpui/build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpui/build.rs b/gpui/build.rs index f8e885e919..1087847a74 100644 --- a/gpui/build.rs +++ b/gpui/build.rs @@ -20,6 +20,7 @@ fn generate_dispatch_bindings() { .whitelist_var("_dispatch_main_q") .whitelist_function("dispatch_async_f") .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .layout_tests(false) .generate() .expect("unable to generate bindings"); @@ -96,6 +97,7 @@ fn generate_shader_bindings() { .header(SHADER_HEADER_PATH) .whitelist_type("GPUI.*") .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .layout_tests(false) .generate() .expect("unable to generate bindings");