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