File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ matrix:
1414 - name : " Documentation"
1515 env : TARGET=x86_64-unknown-linux-gnu
1616 script : sh ci/dox.sh
17- install : true
17+ install :
18+ - travis_retry rustup component add rust-src
19+ - travis_retry cargo install xargo
1820 stage : tools-and-build-and-tier1
1921 - name : " Shellcheck"
2022 install : true
Original file line number Diff line number Diff line change @@ -27,8 +27,11 @@ printf '### Platform-specific documentation\n' >> $PLATFORM_SUPPORT
2727while read -r target; do
2828 echo " documenting ${target} "
2929
30- # rustdoc -o "$TARGET_DOC_DIR/${target}" --target "${target}" src/lib.rs --cfg cross_platform_docs \
31- # --crate-name libc
30+ rustup target add " ${target} " || true
31+ xargo doc --target " ${target} " \
32+ --no-default-features --features extra_traits
33+
34+ cp -r " target/${target} /doc" " ${TARGET_DOC_DIR} /${target} "
3235
3336 echo " * [${target} ](${target} /libc/index.html)" >> $PLATFORM_SUPPORT
3437done < targets
You can’t perform that action at this time.
0 commit comments