From 9e234ee64fb6e40e6e323f70f4a1d8a74decba5e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 1 Oct 2026 13:28:47 -0400 Subject: [PATCH] Mac build: Add Rust targets to the pinned toolchain `rustup target add` was run before `rustup default`, so targets were added to the previous default toolchain rather than $RUST_VERSION. --- app/mac/build-and-unify | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/mac/build-and-unify b/app/mac/build-and-unify index 6cff315439..71b88a1385 100755 --- a/app/mac/build-and-unify +++ b/app/mac/build-and-unify @@ -27,8 +27,7 @@ export MOZ_BUILD_DATE=`date "+%Y%m%d%H%M%S"` # Install required Rust version rustup toolchain install $RUST_VERSION -rustup target add aarch64-apple-darwin -rustup target add x86_64-apple-darwin +rustup target add --toolchain $RUST_VERSION aarch64-apple-darwin x86_64-apple-darwin rustup default $RUST_VERSION cp "$SCRIPT_DIR/mozconfig" "$GECKO_PATH"