Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ serde_test = "1.0"
[features]
default = []
nightly = []
rustc-dep-of-std = ["nightly", "core", "compiler_builtins", "alloc"]
rustc-internal-api = []
rustc-dep-of-std = ["nightly", "core", "compiler_builtins", "alloc", "rustc-internal-api"]
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mod external_trait_impls;
mod fx;
mod map;
mod raw;
#[cfg(feature = "rustc-dep-of-std")]
#[cfg(feature = "rustc-internal-api")]
mod rustc_entry;
mod scopeguard;
mod set;
Expand All @@ -51,7 +51,7 @@ pub mod hash_map {
//! A hash map implemented with quadratic probing and SIMD lookup.
pub use crate::map::*;

#[cfg(feature = "rustc-dep-of-std")]
#[cfg(feature = "rustc-internal-api")]
pub use crate::rustc_entry::*;

#[cfg(feature = "rayon")]
Expand Down