From e53fa6c50c687273a35b6dce74171184dd0c5295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Sat, 20 Apr 2024 09:15:06 +0200 Subject: [PATCH] Emit feature flag tags in CI doc build, too This doesn't do anything useful yet, because we can't build with --all-features because of the conflicting rustls/openssl features... --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61caa13..dcc8cdd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,7 +41,7 @@ variables: stage: test script: - echo "Building docs to CI_DOC_TARGET=$CI_DOC_TARGET" - - cargo +nightly doc --no-deps -Zrustdoc-map + - RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps -Zrustdoc-map - apt install -y rsync openssh-client - mkdir -p $HOME/.ssh - echo -e "Host docs\n\tHostname docs.xmpp.rs\n\tPort 1312\n\tUser xmpp-rs\n\tStrictHostKeyChecking no" > $HOME/.ssh/config