From c2d74767ec89473faa44ef96a3f74cd4f52ea35d Mon Sep 17 00:00:00 2001 From: Arlie Davis Date: Fri, 17 May 2024 18:28:25 -0700 Subject: [PATCH] make windows-registry unconditionally use no_std --- crates/libs/registry/Cargo.toml | 4 ---- crates/libs/registry/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/libs/registry/Cargo.toml b/crates/libs/registry/Cargo.toml index 1226675670..182b880a90 100644 --- a/crates/libs/registry/Cargo.toml +++ b/crates/libs/registry/Cargo.toml @@ -11,10 +11,6 @@ readme = "readme.md" categories = ["os::windows-apis"] exclude = ["tests"] -[features] -default = ["std"] -std = [] - [lints] workspace = true diff --git a/crates/libs/registry/src/lib.rs b/crates/libs/registry/src/lib.rs index aad2cb3a9a..759397acbf 100644 --- a/crates/libs/registry/src/lib.rs +++ b/crates/libs/registry/src/lib.rs @@ -2,7 +2,7 @@ Learn more about Rust for Windows here: */ -#![cfg_attr(all(not(test), not(feature = "std")), no_std)] +#![cfg_attr(not(test), no_std)] #[macro_use] extern crate alloc;