Skip to content

Commit

Permalink
no-std: rm temporary extern crate std
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric committed Nov 3, 2023
1 parent 4f87435 commit 12dcd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ extern crate alloc;
// is in `std::prelude` but not in `core::prelude`. This helps maintain no-std support as even
// developers that are not interested in, or aware of, no-std support and / or that never run
// `cargo build --no-default-features` locally will get errors when they rely on `std::prelude` API.
#[cfg(not(test))]
#[cfg(all(feature = "std", not(test)))]
extern crate std;

// Import `test` sysroot crate for `Bencher` definitions.
Expand Down

0 comments on commit 12dcd1f

Please sign in to comment.