From cc5f86bb8b70262e0087d42d5c326f0584d57019 Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Mon, 9 Jun 2025 16:42:17 -0700 Subject: [PATCH] fix: reenable tests on cdylib crates --- general/echo/kmdf/driver/DriverSync/Cargo.toml | 2 -- tools/dv/kmdf/fail_driver_pool_leak/Cargo.toml | 2 -- 2 files changed, 4 deletions(-) diff --git a/general/echo/kmdf/driver/DriverSync/Cargo.toml b/general/echo/kmdf/driver/DriverSync/Cargo.toml index 37df0c5..d304e49 100644 --- a/general/echo/kmdf/driver/DriverSync/Cargo.toml +++ b/general/echo/kmdf/driver/DriverSync/Cargo.toml @@ -10,8 +10,6 @@ publish.workspace = true [lib] crate-type = ["cdylib"] -# Tests from root driver crates must be excluded since there's no way to prevent linker args from being passed to their unit tests: https://github.com/rust-lang/cargo/issues/12663 -test = false [dependencies] paste.workspace = true diff --git a/tools/dv/kmdf/fail_driver_pool_leak/Cargo.toml b/tools/dv/kmdf/fail_driver_pool_leak/Cargo.toml index 642bd30..d41458c 100644 --- a/tools/dv/kmdf/fail_driver_pool_leak/Cargo.toml +++ b/tools/dv/kmdf/fail_driver_pool_leak/Cargo.toml @@ -11,8 +11,6 @@ license.workspace = true [lib] crate-type = ["cdylib"] -# Tests from root driver crates must be excluded since there's no way to prevent linker args from being passed to their unit tests: https://github.com/rust-lang/cargo/issues/12663 -test = false [dependencies] wdk.workspace = true