summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-07-24 15:37:30 -0600
committerAlan Somers <asomers@gmail.com>2021-07-24 15:38:30 -0600
commitb083a611a928e9538c68df0b016ae3c6f3ae8e25 (patch)
treeec376be2633a551840aa0ad7a329d4accfc28762 /ci
parent6fc98f18506f9c350e9c7ca786e0c7189df9a5b3 (diff)
downloadrust-libc-b083a611a928e9538c68df0b016ae3c6f3ae8e25.tar.gz
Set const-extern-fn when building docs
Diffstat (limited to 'ci')
-rw-r--r--ci/dox.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/dox.sh b/ci/dox.sh
index 4fe0dc5dad..6dd1e4a228 100644
--- a/ci/dox.sh
+++ b/ci/dox.sh
@@ -51,10 +51,10 @@ while read -r target; do
# If cargo doc fails, then try with unstable feature:
if ! cargo doc --target "${target}" \
- --no-default-features --features extra_traits ; then
+ --no-default-features --features const-extern-fn,extra_traits ; then
cargo doc --target "${target}" \
-Z build-std=core,alloc \
- --no-default-features --features extra_traits
+ --no-default-features --features const-extern-fn,extra_traits
fi
mkdir -p "${TARGET_DOC_DIR}/${target}"