Skip to content

Commit 4da586f

Browse files
committed
Fake nodejs in snapshot test
1 parent a9b85e9 commit 4da586f

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
@@ -1999,6 +1999,8 @@ mod snapshot {
19991999
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
20002000
// on CI.
20012001
.args(&["--skip", "bootstrap"])
2002+
// rustdoc-js-std requires nodejs to be present
2003+
.args(&["--set", "build.nodejs=/bin/nodejs"])
20022004
.render_steps(), @r"
20032005
[build] rustc 0 <host> -> Tidy 1 <host>
20042006
[test] tidy <>

0 commit comments

Comments
 (0)