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
575fdc8c
Commit
575fdc8c
authored
6 years ago
by
gnzlbg
Browse files
Options
Downloads
Patches
Plain Diff
Do not try to build documentation for apple targets from Linux
parent
7017701b
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/dox.sh
+16
-6
16 additions, 6 deletions
ci/dox.sh
with
16 additions
and
6 deletions
ci/dox.sh
+
16
−
6
View file @
575fdc8c
...
...
@@ -25,15 +25,25 @@ rm $PLATFORM_SUPPORT || true
printf
'### Platform-specific documentation\n'
>>
$PLATFORM_SUPPORT
while
read
-r
target
;
do
echo
"documenting
${
target
}
"
echo
"documenting
${
target
}
"
rustup target add
"
${
target
}
"
||
true
xargo doc
--target
"
${
target
}
"
\
--no-default-features
--features
extra_traits
case
"
${
target
}
"
in
*
apple
*
)
# FIXME:
# We can't build docs of apple targets from Linux yet.
continue
;;
*
)
;;
esac
cp
-r
"target/
${
target
}
/doc"
"
${
TARGET_DOC_DIR
}
/
${
target
}
"
rustup target add
"
${
target
}
"
||
true
xargo doc
--target
"
${
target
}
"
\
--no-default-features
--features
extra_traits
echo
"* [
${
target
}
](
${
target
}
/libc/index.html)"
>>
$PLATFORM_SUPPORT
cp
-r
"target/
${
target
}
/doc"
"
${
TARGET_DOC_DIR
}
/
${
target
}
"
echo
"* [
${
target
}
](
${
target
}
/libc/index.html)"
>>
$PLATFORM_SUPPORT
done
< targets
# Replace <div class="platform_support"></div> with the contents of $PLATFORM_SUPPORT
...
...
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