Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
c4c45267
Unverified
Commit
c4c45267
authored
4 years ago
by
Yuki Okushi
Browse files
Options
Downloads
Patches
Plain Diff
Put index.html using unstable rustdoc features
parent
73e88380
Loading
Loading
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-3
2 additions, 3 deletions
README.md
ci/dox.sh
+4
-2
4 additions, 2 deletions
ci/dox.sh
with
6 additions
and
5 deletions
README.md
+
2
−
3
View file @
c4c45267
[
![Azure Status]
][
Azure
]
[
![Cirrus CI Status]
][
Cirrus CI
]
[
![Latest Version]
][
crates.io
]
[
![Documentation]
][
docs.rs
]
![License]
# libc - Raw FFI bindings to platforms' system libraries
libc - Raw FFI bindings to platforms' system libraries
====
[
![Azure Status]
][
Azure
]
[
![Cirrus CI Status]
][
Cirrus CI
]
[
![Latest Version]
][
crates.io
]
[
![Documentation]
][
docs.rs
]
![License]
`libc`
provides all of the definitions necessary to easily interoperate with C
code (or "C-like" code) on each of the platforms that Rust supports. This
...
...
This diff is collapsed.
Click to expand it.
ci/dox.sh
+
4
−
2
View file @
c4c45267
...
...
@@ -52,9 +52,9 @@ while read -r target; do
# If cargo doc fails, then try xargo:
if
!
cargo doc
--target
"
${
target
}
"
\
--no-default-features
--features
extra_traits
;
then
--no-default-features
--features
extra_traits
;
then
cargo xdoc
--target
"
${
target
}
"
\
--no-default-features
--features
extra_traits
--no-default-features
--features
extra_traits
fi
cp
-r
"target/
${
target
}
/doc"
"
${
TARGET_DOC_DIR
}
/
${
target
}
"
...
...
@@ -70,5 +70,7 @@ set +x
{
head
-n
"
$((
line-1
))
"
$README
;
cat
$PLATFORM_SUPPORT
;
tail
-n
"+
$((
line+1
))
"
$README
;
}
>
$TARGET_DOC_DIR
/
$README
set
-x
RUSTDOCFLAGS
=
"--enable-index-page --index-page=
${
TARGET_DOC_DIR
}
/
${
README
}
-Zunstable-options"
cargo doc
# Copy the licenses
cp
LICENSE-
*
$TARGET_DOC_DIR
/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment