Skip to content

Commit

Permalink
Add comment about doc_cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Mar 10, 2024
1 parent e5d72a3 commit df6a233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ semihosting = { version = "0.1", features = ["stdio", "panic-handler"] }
),
feature(asm_experimental_arch)
)]
// docs.rs only (cfg is enabled via [package.metadata.docs.rs] in Cargo.toml, not build script)
#![cfg_attr(semihosting_doc_cfg, feature(doc_cfg))]

#[cfg(not(any(
Expand Down

0 comments on commit df6a233

Please sign in to comment.