Skip to content

Commit 208ed47

Browse files
committed
Fake nodejs in snapshot test
1 parent fb0c179 commit 208ed47

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/builder/tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,6 +1860,8 @@ mod snapshot {
18601860
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
18611861
// on CI.
18621862
.args(&["--skip", "bootstrap"])
1863+
// rustdoc-js-std requires nodejs to be present
1864+
.args(&["--set", "build.nodejs=/bin/nodejs"])
18631865
.render_steps(), @r"
18641866
[build] rustc 0 <host> -> Tidy 1 <host>
18651867
[test] tidy <>

0 commit comments

Comments
 (0)