From a3b18ea4e297443a46bb5fe487ec392334ad357b Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Tue, 25 Jun 2024 09:05:00 -0500 Subject: [PATCH] Remove unnecessary test `cfg` checks (#3124) --- crates/libs/core/src/lib.rs | 2 +- crates/libs/registry/Cargo.toml | 1 - crates/libs/registry/src/lib.rs | 2 +- crates/libs/result/Cargo.toml | 1 - crates/libs/result/src/lib.rs | 2 +- 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/libs/core/src/lib.rs b/crates/libs/core/src/lib.rs index 25708a4c6d..9b0579e189 100644 --- a/crates/libs/core/src/lib.rs +++ b/crates/libs/core/src/lib.rs @@ -8,7 +8,7 @@ Learn more about Rust for Windows here: */ -#![cfg_attr(not(test), no_std)] +#![no_std] #[macro_use] extern crate alloc; diff --git a/crates/libs/result/Cargo.toml b/crates/libs/result/Cargo.toml index a255606833..f553397c3c 100644 --- a/crates/libs/result/Cargo.toml +++ b/crates/libs/result/Cargo.toml @@ -9,7 +9,6 @@ description = "Windows error handling" repository = "https://github.com/microsoft/windows-rs" readme = "readme.md" categories = ["os::windows-apis"] -exclude = ["tests"] [features] default = ["std"] diff --git a/crates/libs/result/src/lib.rs b/crates/libs/result/src/lib.rs index df5cd6d97f..8eb6ddbeeb 100644 --- a/crates/libs/result/src/lib.rs +++ b/crates/libs/result/src/lib.rs @@ -6,7 +6,7 @@ Learn more about Rust for Windows here: