aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2024-03-04 09:08:36 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-03-05 17:11:38 +0000
commit423ae14da869adfc68f1d471cc61fd0135625dbd (patch)
treeec8faaae20eee9481072b40f46fbe8db358989cd
parent159f674171e382663b89fd2b48ee08c6f76b0ba6 (diff)
downloadtoolchain-utils-423ae14da869adfc68f1d471cc61fd0135625dbd.tar.gz
rust_uprev: skip fetching bootstrap tbz2
Other automation should make sure this exists when it can exist. As it stands, this check blocks Rust updates pretty early because an optimization in rust-bootstrap is still processing. That's probably not the trade-off we want. BUG=b:324414750 TEST=ran the script Change-Id: If6424033e7f4f75ffd0af9f68f93e3665f1e0cdf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5345430 Reviewed-by: Bob Haarman <inglorion@chromium.org> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
-rwxr-xr-xrust_tools/rust_uprev.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/rust_tools/rust_uprev.py b/rust_tools/rust_uprev.py
index 76fe471f..9845c7c7 100755
--- a/rust_tools/rust_uprev.py
+++ b/rust_tools/rust_uprev.py
@@ -204,10 +204,6 @@ def compute_rustc_src_name(version: RustVersion) -> str:
return f"rustc-{version}-src.tar.gz"
-def compute_rust_bootstrap_prebuilt_name(version: RustVersion) -> str:
- return f"rust-bootstrap-{version}.tbz2"
-
-
def find_ebuild_for_package(name: str) -> str:
"""Returns the path to the ebuild for the named package."""
return run_in_chroot(
@@ -546,7 +542,6 @@ def fetch_bootstrap_distfiles(version: RustVersion) -> None:
are available on the mirror and the local copies are the same as
the ones on the mirror.
"""
- fetch_distfile_from_mirror(compute_rust_bootstrap_prebuilt_name(version))
fetch_distfile_from_mirror(compute_rustc_src_name(version))