From 8d20cba89b6cd3e868ec5164e31d00f4e149c5ce Mon Sep 17 00:00:00 2001 From: Aleksey Khoroshilov Date: Wed, 13 Dec 2023 19:34:59 +0700 Subject: [PATCH] Use fixed rust toolchain to support win-x86 builds. --- patches/tools-rust-update_rust.py.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/tools-rust-update_rust.py.patch diff --git a/patches/tools-rust-update_rust.py.patch b/patches/tools-rust-update_rust.py.patch new file mode 100644 index 00000000000..52be6df5fb4 --- /dev/null +++ b/patches/tools-rust-update_rust.py.patch @@ -0,0 +1,13 @@ +diff --git a/tools/rust/update_rust.py b/tools/rust/update_rust.py +index b7e32f0dc764f43535deb4d14f4e1fd2c310e074..d812d7eb5bad62288cd7baf9450fd30f98e146f2 100755 +--- a/tools/rust/update_rust.py ++++ b/tools/rust/update_rust.py +@@ -35,7 +35,7 @@ sys.path.append( + # this back to its previous value _AND_ set `OVERRIDE_CLANG_REVISION` below + # to the `CLANG_REVISION` that was in place before the roll. + RUST_REVISION = '2e4e2a8f288f642cafcc41fff211955ceddc453d' +-RUST_SUB_REVISION = 1 ++RUST_SUB_REVISION = 3 + + # If not None, this overrides the `CLANG_REVISION` in + # //tools/clang/scripts/update.py in order to download a Rust toolchain that