File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,10 @@ jobs:
125
125
- name : Run rustdoc
126
126
run : |
127
127
cd spdlog
128
+ cargo +nightly rustdoc --verbose -- -D warnings -A unexpected_cfgs -A rustdoc::broken-intra-doc-links
128
129
cargo +nightly rustdoc --all-features --verbose -- -D warnings -A unexpected_cfgs
129
130
cd ../spdlog-macros
131
+ cargo +nightly rustdoc --verbose -- -D warnings -A unexpected_cfgs -A rustdoc::broken-intra-doc-links
130
132
cargo +nightly rustdoc --all-features --verbose -- -D warnings -A unexpected_cfgs
131
133
132
134
check-msrv :
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ impl Default for SyslogLevels {
47
47
}
48
48
49
49
fn journal_send ( args : impl Iterator < Item = impl AsRef < str > > ) -> StdResult < ( ) , io:: Error > {
50
- #[ cfg( target_os = "linux" ) ] // https://github.com/rust-lang/rust/issues/97976
50
+ #[ cfg( not ( doc ) ) ] // https://github.com/rust-lang/rust/issues/97976
51
51
use libsystemd_sys:: { const_iovec, journal as ffi} ;
52
52
53
53
let iovecs: Vec < _ > = args. map ( |a| unsafe { const_iovec:: from_str ( a) } ) . collect ( ) ;
You can’t perform that action at this time.
0 commit comments