Skip to content

Commit 1c1d630

Browse files
committed
Fake nodejs in snapshot test
1 parent 1591901 commit 1c1d630

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
@@ -2046,6 +2046,8 @@ mod snapshot {
20462046
// bootstrap tests under bootstrap tests causes non-deterministic snapshot diffs
20472047
// on CI.
20482048
.args(&["--skip", "bootstrap"])
2049+
// rustdoc-js-std requires nodejs to be present
2050+
.args(&["--set", "build.nodejs=/bin/nodejs"])
20492051
.render_steps(), @r"
20502052
[build] rustc 0 <host> -> Tidy 1 <host>
20512053
[test] tidy <>

0 commit comments

Comments
 (0)