From cbc8fb973642dd9e29d2a445f0c992edb4f613c2 Mon Sep 17 00:00:00 2001 From: gnzlbg <gonzalobg88@gmail.com> Date: Wed, 14 Aug 2019 17:32:21 +0200 Subject: [PATCH] Set up RUSTDOCFLAGS for building libc --- ci/dox.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/dox.sh b/ci/dox.sh index 49abd546..febe18b3 100644 --- a/ci/dox.sh +++ b/ci/dox.sh @@ -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 -- GitLab