Set up RUSTDOCFLAGS for building libc

This commit is contained in:
gnzlbg 2019-08-14 17:32:21 +02:00
parent 9db561f04e
commit cbc8fb9736
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ while read -r target; do
rustup target add "${target}" || true
# Enable extra configuration flags:
export RUSTDOCFLAGS="--cfg freebsd11"
# If cargo doc fails, then try xargo:
if ! cargo doc --target "${target}" \
--no-default-features --features extra_traits ; then