diff options
author | Alan Somers <asomers@gmail.com> | 2021-07-24 15:37:30 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-07-24 15:38:30 -0600 |
commit | b083a611a928e9538c68df0b016ae3c6f3ae8e25 (patch) | |
tree | ec376be2633a551840aa0ad7a329d4accfc28762 /ci | |
parent | 6fc98f18506f9c350e9c7ca786e0c7189df9a5b3 (diff) | |
download | rust-libc-b083a611a928e9538c68df0b016ae3c6f3ae8e25.tar.gz |
Set const-extern-fn when building docs
Diffstat (limited to 'ci')
-rw-r--r-- | ci/dox.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}" |