From 80bb8d165d1a2e6be3febda5a79bb87b5198b104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor?= <85838827+joaoviictorti@users.noreply.github.com> Date: Sat, 27 Jul 2024 22:01:36 -0300 Subject: [PATCH] Add 'ExAllocatePool' to blocklist due to deprecation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Victor <85838827+joaoviictorti@users.noreply.github.com> --- crates/wdk-build/src/bindgen.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/wdk-build/src/bindgen.rs b/crates/wdk-build/src/bindgen.rs index 48a5d615..211c8d96 100644 --- a/crates/wdk-build/src/bindgen.rs +++ b/crates/wdk-build/src/bindgen.rs @@ -118,6 +118,7 @@ impl BuilderExt for Builder { .blocklist_item("ExAllocatePoolWithTag") // Deprecated .blocklist_item("ExAllocatePoolWithQuotaTag") // Deprecated .blocklist_item("ExAllocatePoolWithTagPriority") // Deprecated + .blocklist_item("ExAllocatePool") // Deprecated // FIXME: Types containing 32-bit pointers (via __ptr32) are not generated properly and cause bindgen layout tests to fail: https://github.com/rust-lang/rust-bindgen/issues/2636 .blocklist_item(".*EXTENDED_CREATE_INFORMATION_32") // FIXME: bitfield generated with non-1byte alignment in _MCG_CAP