Skip to content

Commit 21878d6

Browse files
committed
Ensure Rust version matches Gecko's
1 parent 0a9036d commit 21878d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build-engine.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ then
66
# Ensure apt-get is current, because otherwise bootstrapping might fail
77
sudo apt-get update -y
88

9-
# Ensure Rust can compile to WASI
9+
# Ensure the Rust version matches that used by Gecko, and can compile to WASI
10+
rustup update 1.54.0
11+
rustup default 1.54.0
1012
rustup target add wasm32-wasi
1113

1214
# Clone Gecko repository at the required revision

0 commit comments

Comments
 (0)