Skip to content

Commit

Permalink
build: Update Rust toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Qian Qian "Cubik"‎ <[email protected]>
  • Loading branch information
Cubik65536 committed Sep 21, 2024
1 parent ad29129 commit 677c23c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion downloads-arm64.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sha512 = 8678a2baf8d0c1c0e74ccf64c0dfdbb634e4c99d5770f20cf670f0a725885c668d7950e
output_path = third_party/node/mac_arm64/node-darwin-arm64

[rust]
version = 2024-06-15
version = 2024-07-30
url = https://static.rust-lang.org/dist/%(version)s/rust-nightly-aarch64-apple-darwin.tar.xz
download_filename = rust-nightly-%(version)s-aarch64-apple-darwin.tar.xz
output_path = third_party/rust-toolchain
Expand Down
2 changes: 1 addition & 1 deletion downloads-x86-64.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sha512 = 0e2ad3e108a6a2e938180ac958094476d5217e77176ecd18f6eb7f295ac2890781577c6
output_path = third_party/node/mac/node-darwin-x64

[rust]
version = 2024-06-15
version = 2024-07-30
url = https://static.rust-lang.org/dist/%(version)s/rust-nightly-x86_64-apple-darwin.tar.xz
download_filename = rust-nightly-%(version)s-x86_64-apple-darwin.tar.xz
output_path = third_party/rust-toolchain
Expand Down
2 changes: 1 addition & 1 deletion patches/ungoogled-chromium/macos/fix-build-with-rust.patch
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# Rust targets to be rebuilt, which allows you to update your toolchain and
# not break incremental builds.
- rustc_version = ""
+ rustc_version = "rustc 1.81.0-nightly (f8e566053 2024-06-14)"
+ rustc_version = "rustc 1.82.0-nightly (612a33f20 2024-07-29)"

# If you're using a Rust toolchain as specified by rust_sysroot_absolute,
# you can specify whether it supports nacl here.
2 changes: 1 addition & 1 deletion retrieve_and_unpack_resource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ while getopts 'gp' OPTION; do
_rustc_dir="$_rust_dir/rustc"
_rustc_lib_dir="$_rust_dir/rustc/lib/rustlib/$_rust_name/lib"

echo "rustc 1.81.0-nightly (f8e566053 2024-06-14)" > "$_rust_flag_file"
echo "rustc 1.82.0-nightly (612a33f20 2024-07-29)" > "$_rust_flag_file"

mkdir $_rust_bin_dir
ln -s "$_rust_dir/rustc/bin/rustc" "$_rust_bin_dir/rustc"
Expand Down

0 comments on commit 677c23c

Please sign in to comment.