fix(ci): fix rustdoc build by scoping docsrs cfg to rustdoc only (#458)
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
0566d132ea
commit
c0b777c7f7
1 changed files with 2 additions and 3 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -224,7 +224,6 @@ jobs:
|
||||||
cargo +nightly doc --no-deps -p rmcp -p rmcp-macros --all-features
|
cargo +nightly doc --no-deps -p rmcp -p rmcp-macros --all-features
|
||||||
env:
|
env:
|
||||||
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
|
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
|
||||||
RUSTFLAGS: --cfg docsrs
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Release crates
|
name: Release crates
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue