Skip to content

Commit b22505b

Browse files
authored
Merge pull request #2268 from hermit-os/doc_cfg
docs: enable `doc_cfg` for docs.rs
2 parents a7a9e60 + 9a52d28 commit b22505b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
)]
1010
#![cfg_attr(target_arch = "x86_64", feature(abi_x86_interrupt))]
1111
#![feature(allocator_api)]
12+
#![cfg_attr(docsrs, feature(doc_cfg))]
1213
#![feature(linkage)]
1314
#![feature(linked_list_cursors)]
1415
#![feature(maybe_uninit_as_bytes)]

0 commit comments

Comments
 (0)