Skip to content

Commit 737b2a0

Browse files
committed
Disable nightly warnings in cargo doc
1 parent cc2b082 commit 737b2a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

documentation/put.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ fi
107107
echo "$PRE build Rust docs of crate '$mainCrate' ($features)..."
108108
up=".."
109109
# shellcheck disable=SC2086
110+
export RUSTFLAGS="-A unused_imports -A dead_code -A unexpected_cfgs"
110111
cargo +nightly doc -p $mainCrate $features --no-deps --target-dir $up/target
111112
#mkdir -p "$up/target/doc"
112113
cd $up

0 commit comments

Comments
 (0)