Use cargo-xbuild for building the documentation

This commit is contained in:
gnzlbg 2019-07-09 11:16:47 +02:00
parent 189ea88d04
commit d03a1ff2dc
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if ! rustc --version | grep -E "nightly" ; then
fi
rustup component add rust-src
cargo +nightly install xargo -Z install-upgrade
cargo +nightly install cargo-xbuild -Z install-upgrade
# List all targets that do currently build successfully:
# shellcheck disable=SC1003
@ -50,7 +50,7 @@ while read -r target; do
# If cargo doc fails, then try xargo:
if ! cargo doc --target "${target}" \
--no-default-features --features extra_traits ; then
xargo doc --target "${target}" \
cargo xdoc --target "${target}" \
--no-default-features --features extra_traits
fi