Set up RUSTDOCFLAGS for building libc
This commit is contained in:
parent
9db561f04e
commit
cbc8fb9736
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue