Skip to content

Commit

Permalink
Merge pull request #408 from rust-osdev/remove-doc-cfg
Browse files Browse the repository at this point in the history
Remove unused `doc_cfg` feature
  • Loading branch information
phil-opp committed Mar 7, 2023
2 parents 642956d + 4500120 commit 29f6c75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ rustversion = "1.0.5"
[features]
default = ["nightly", "instructions"]
instructions = []
nightly = ["const_fn", "step_trait", "abi_x86_interrupt", "doc_cfg"]
nightly = ["const_fn", "step_trait", "abi_x86_interrupt"]
abi_x86_interrupt = []
const_fn = []
step_trait = []
doc_cfg = []

# These features are no longer used and only there for backwards compatibility.
external_asm = []
inline_asm = []
doc_cfg = []

[package.metadata.release]
dev-version = false
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#![cfg_attr(feature = "const_fn", feature(const_mut_refs))] // GDT add_entry()
#![cfg_attr(feature = "abi_x86_interrupt", feature(abi_x86_interrupt))]
#![cfg_attr(feature = "step_trait", feature(step_trait))]
#![cfg_attr(feature = "doc_cfg", feature(doc_cfg))]
#![warn(missing_docs)]
#![deny(missing_debug_implementations)]
#![deny(unsafe_op_in_unsafe_fn)]
Expand Down

0 comments on commit 29f6c75

Please sign in to comment.