Skip to content

Commit 87aa052

Browse files
committed
ci: pass --override-lib-dir to emit std lib docs
Otherwise we get errors from conflicting std libs.
1 parent ee1b370 commit 87aa052

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/azure/linux_script

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ tidy -qe ../zig-cache/langref.html
7373
if [ "${BUILD_REASON}" != "PullRequest" ]; then
7474
# Produce the experimental std lib documentation.
7575
mkdir -p release/docs/std
76-
release/bin/zig test ../lib/std/std.zig -femit-docs=release/docs/std -fno-emit-bin
76+
release/bin/zig test ../lib/std/std.zig \
77+
--override-lib-dir ../lib \
78+
-femit-docs=release/docs/std \
79+
-fno-emit-bin
7780

7881
mv ../LICENSE release/
7982
mv ../zig-cache/langref.html release/docs/

0 commit comments

Comments
 (0)