File tree 1 file changed +16
-6
lines changed
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
25
25
printf ' ### Platform-specific documentation\n' >> $PLATFORM_SUPPORT
26
26
27
27
while read -r target; do
28
- echo " documenting ${target} "
28
+ echo " documenting ${target} "
29
29
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
33
39
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
35
43
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
37
47
done < targets
38
48
39
49
# Replace <div class="platform_support"></div> with the contents of $PLATFORM_SUPPORT
You can’t perform that action at this time.
0 commit comments