File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- [ ![ Azure Status ]] [ Azure ] [ ![ Cirrus CI Status ]] [ Cirrus CI ] [ ![ Latest Version ]] [ crates.io ] [ ![ Documentation ]] [ docs.rs ] ![ License ]
1
+ # libc - Raw FFI bindings to platforms' system libraries
2
2
3
- libc - Raw FFI bindings to platforms' system libraries
4
- ====
3
+ [ ![ Azure Status]] [ Azure ] [ ![ Cirrus CI Status]] [ Cirrus CI ] [ ![ Latest Version]] [ crates.io ] [ ![ Documentation]] [ docs.rs ] ![ License]
5
4
6
5
` libc ` provides all of the definitions necessary to easily interoperate with C
7
6
code (or "C-like" code) on each of the platforms that Rust supports. This
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ while read -r target; do
52
52
53
53
# If cargo doc fails, then try xargo:
54
54
if ! cargo doc --target " ${target} " \
55
- --no-default-features --features extra_traits ; then
55
+ --no-default-features --features extra_traits ; then
56
56
cargo xdoc --target " ${target} " \
57
- --no-default-features --features extra_traits
57
+ --no-default-features --features extra_traits
58
58
fi
59
59
60
60
cp -r " target/${target} /doc" " ${TARGET_DOC_DIR} /${target} "
70
70
{ head -n " $(( line- 1 )) " $README ; cat $PLATFORM_SUPPORT ; tail -n " +$(( line+ 1 )) " $README ; } > $TARGET_DOC_DIR /$README
71
71
set -x
72
72
73
+ RUSTDOCFLAGS=" --enable-index-page --index-page=${TARGET_DOC_DIR} /${README} -Zunstable-options" cargo doc
74
+
73
75
# Copy the licenses
74
76
cp LICENSE-* $TARGET_DOC_DIR /
You can’t perform that action at this time.
0 commit comments