Skip to content

Commit

Permalink
make windows-registry unconditionally use no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlie Davis committed May 18, 2024
1 parent 3be5345 commit c2d7476
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions crates/libs/registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ readme = "readme.md"
categories = ["os::windows-apis"]
exclude = ["tests"]

[features]
default = ["std"]
std = []

[lints]
workspace = true

Expand Down
2 changes: 1 addition & 1 deletion crates/libs/registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs>
*/

#![cfg_attr(all(not(test), not(feature = "std")), no_std)]
#![cfg_attr(not(test), no_std)]

#[macro_use]
extern crate alloc;
Expand Down

0 comments on commit c2d7476

Please sign in to comment.