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 @@ -126,8 +126,10 @@ jobs:
126
126
run : |
127
127
cd spdlog
128
128
# The reason for allowing lint `unexpected_cfgs` not in `build.rs` or `Cargo.toml` but in CI is that we need to keep MSRV
129
+ cargo +nightly rustdoc --verbose -- -D warnings -A unexpected_cfgs -A rustdoc::broken-intra-doc-links
129
130
cargo +nightly rustdoc --all-features --verbose -- -D warnings -A unexpected_cfgs
130
131
cd ../spdlog-macros
132
+ cargo +nightly rustdoc --verbose -- -D warnings -A unexpected_cfgs -A rustdoc::broken-intra-doc-links
131
133
cargo +nightly rustdoc --all-features --verbose -- -D warnings -A unexpected_cfgs
132
134
133
135
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