diff --git a/crates/perry-ext-http-server/src/lib.rs b/crates/perry-ext-http-server/src/lib.rs index d949a3f4814..4ebfe4858f4 100644 --- a/crates/perry-ext-http-server/src/lib.rs +++ b/crates/perry-ext-http-server/src/lib.rs @@ -70,6 +70,7 @@ mod response; mod response_fast; mod server; #[cfg(test)] +#[cfg(test)] mod test_async_shims; mod tls; mod types; diff --git a/crates/perry-ext-http/src/lib.rs b/crates/perry-ext-http/src/lib.rs index 36467837956..d816401e4bf 100644 --- a/crates/perry-ext-http/src/lib.rs +++ b/crates/perry-ext-http/src/lib.rs @@ -1812,6 +1812,7 @@ mod tests; // Test-only `perry_ffi_*` async-bridge shims so the lib test links without the // host stdlib archive (mirrors perry-ext-net / perry-ext-http-server). #[cfg(test)] +#[cfg(test)] mod test_async_shims; // Suppress unused-import warnings for FFI-only types.