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