File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,25 @@ rm $PLATFORM_SUPPORT || true
2525printf ' ### Platform-specific documentation\n' >> $PLATFORM_SUPPORT
2626
2727while read -r target; do
28- echo " documenting ${target} "
28+ echo " documenting ${target} "
2929
30- rustup target add " ${target} " || true
31- xargo doc --target " ${target} " \
32- --no-default-features --features extra_traits
30+ case " ${target} " in
31+ * apple* )
32+ # FIXME:
33+ # We can't build docs of apple targets from Linux yet.
34+ continue
35+ ;;
36+ * )
37+ ;;
38+ esac
3339
34- cp -r " target/${target} /doc" " ${TARGET_DOC_DIR} /${target} "
40+ rustup target add " ${target} " || true
41+ xargo doc --target " ${target} " \
42+ --no-default-features --features extra_traits
3543
36- echo " * [${target} ](${target} /libc/index.html)" >> $PLATFORM_SUPPORT
44+ cp -r " target/${target} /doc" " ${TARGET_DOC_DIR} /${target} "
45+
46+ echo " * [${target} ](${target} /libc/index.html)" >> $PLATFORM_SUPPORT
3747done < targets
3848
3949# Replace <div class="platform_support"></div> with the contents of $PLATFORM_SUPPORT
You can’t perform that action at this time.
0 commit comments