mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
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.
(cherry picked from commit 9e234ee64f)
This commit is contained in:
parent
7f839c535c
commit
bbfa6b3c73
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue