From e149d1416fbad4316b5b0d29f9286863994b3767 Mon Sep 17 00:00:00 2001 From: Andreas Hartmann Date: Tue, 21 Mar 2023 17:24:16 +0100 Subject: [PATCH] xtask/pipeline/publish: Drop manual "wait" for crates.io to catch up, which is obsolete with rust 1.66 and up. Cargo does that on its own now. See https://github.com/rust-lang/cargo/pull/11062 --- xtask/src/pipelines.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xtask/src/pipelines.rs b/xtask/src/pipelines.rs index ad21bffe55..c690437c85 100644 --- a/xtask/src/pipelines.rs +++ b/xtask/src/pipelines.rs @@ -349,10 +349,6 @@ pub fn publish(sh: &Shell, flags: flags::Publish) -> anyhow::Result<()> { println!("Aborting publish for crate '{member}'"); return Err::<(), _>(err); } - } else { - println!("Waiting for crates.io to catch up..."); - std::thread::sleep(std::time::Duration::from_secs(15)); - break; } } }