Skip to content

Commit f8a284e

Browse files
committed
add Doc builds to PGO
1 parent 2faa2ce commit f8a284e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ci/pgo.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euxo pipefail
55
rm -rf /tmp/rustc-pgo
66

77
python3 ../x.py build --target=$PGO_HOST --host=$PGO_HOST \
8-
--stage 2 library/std \
8+
--stage 2 library/std rustdoc \
99
--rust-profile-generate=/tmp/rustc-pgo \
1010
--llvm-profile-generate
1111

@@ -35,7 +35,7 @@ RUSTC_BOOTSTRAP=1 \
3535
eprintln \
3636
/checkout/obj/build/$PGO_HOST/stage2/bin/rustc \
3737
Test \
38-
--builds Check,Debug,Opt \
38+
--builds Check,Debug,Opt,Doc \
3939
--cargo /checkout/obj/build/$PGO_HOST/stage0/bin/cargo \
4040
--runs All \
4141
--include externs,ctfe-stress-4,inflate,cargo,token-stream-stress,match-stress-enum

0 commit comments

Comments
 (0)