Skip to content

Commit 7ce61cb

Browse files
committed
zephyr-sys: Allow broken doc links in bindgen
The bindgen code copies the doc strings directly from the C headers. These have a different syntax than the Rust doc headers. Until we can find or create a tool to convert these, disable these warnings. Signed-off-by: David Brown <[email protected]>
1 parent 3dd8c52 commit 7ce61cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zephyr-sys/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@
1717
// Note, however, that this suppresses any warnings in the bindings about improper C types.
1818
#![allow(improper_ctypes)]
1919

20+
#![allow(rustdoc::broken_intra_doc_links)]
21+
2022
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

0 commit comments

Comments
 (0)