aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Haarman <inglorion@chromium.org>2023-08-11 16:28:52 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-08-16 12:43:56 +0000
commit2942bd8023e3e0a79ed78fd4fff22c1f961e9f73 (patch)
tree5b5571d99ee90d5ecaacd8aa4d327f715b0bafc6
parent7f833f357ecdeec7948782f391b131d6a375f095 (diff)
downloadtoolchain-utils-2942bd8023e3e0a79ed78fd4fff22c1f961e9f73.tar.gz
rust_uprev: remove obsolete step "remove patches"
Previously, patches had the version number they apply to encoded in their filename. Because of this, patches corresponding to Rust versions whose ebuilds were being removed also needed to be removed. Nowadays, we don't include the Rust version in the patch filename anymore and we want to keep the patches from version to version. Thus, we don't need this step anymore. BUG=b:294547321 TEST=Upgrade Rust with the new script Change-Id: I95cf45a7fb2c0a6aa44999040ff5e3263d85cc74 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/4775781 Reviewed-by: George Burgess <gbiv@chromium.org> Tested-by: Bob Haarman <inglorion@chromium.org> Commit-Queue: Bob Haarman <inglorion@chromium.org>
-rwxr-xr-xrust_tools/rust_uprev.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/rust_tools/rust_uprev.py b/rust_tools/rust_uprev.py
index 4823e35e..e9113ea7 100755
--- a/rust_tools/rust_uprev.py
+++ b/rust_tools/rust_uprev.py
@@ -1048,10 +1048,6 @@ def remove_rust_uprev(
result_from_json=find_desired_rust_version_from_json,
)
run_step(
- "remove patches",
- lambda: remove_files(f"files/rust-{delete_version}-*.patch", RUST_PATH),
- )
- run_step(
"remove target ebuild",
lambda: remove_ebuild_version(RUST_PATH, "rust", delete_version),
)