Skip to content

Commit 6748f8a

Browse files
taiki-egnzlbg
authored andcommitted
Build documentation with '--edition=2018'
1 parent aa00fbe commit 6748f8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/dox.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ dox() {
3030

3131
rustdoc --verbose --target "${target}" \
3232
-o "target/doc/${arch}" crates/core_arch/src/lib.rs \
33+
--edition=2018 \
3334
--crate-name core_arch \
3435
--library-path "target/${target}/debug/deps" \
3536
--cfg core_arch_docs
3637
rustdoc --verbose --target "${target}" \
3738
-o "target/doc/${arch}" crates/std_detect/src/lib.rs \
39+
--edition=2018 \
3840
--crate-name std_detect \
3941
--library-path "target/${target}/debug/deps" \
4042
--extern cfg_if="$(ls target/"${target}"/debug/deps/libcfg_if-*.rlib)" \

0 commit comments

Comments
 (0)