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...
This commit is contained in:
Jonas Schäfer 2024-04-20 09:15:06 +02:00
parent 13be111de1
commit e53fa6c50c
1 changed files with 1 additions and 1 deletions

View File

@ -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