diff --git a/crates/wdk-sys/build.rs b/crates/wdk-sys/build.rs index 60a46ada..05a64960 100644 --- a/crates/wdk-sys/build.rs +++ b/crates/wdk-sys/build.rs @@ -48,7 +48,8 @@ const WDF_FUNCTION_COUNT_DECLARATION_TABLE_INDEX: &str = " let wdf_function_count = crate::_WDFFUNCENUM::WdfFunctionTableNumEntries as usize;"; static WDF_FUNCTION_TABLE_TEMPLATE: LazyLock = LazyLock::new(|| { - format!(r" + format!( + r" extern crate alloc; /// Struct to encapsulate a function table.