Skip to content
Snippets Groups Projects
Commit d03a1ff2 authored by gnzlbg's avatar gnzlbg
Browse files

Use cargo-xbuild for building the documentation

parent 189ea88d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment