Skip to content

Commit 0938a20

Browse files
committed
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 rust-lang/cargo#11062
1 parent a15f432 commit 0938a20

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

xtask/src/pipelines.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,6 @@ pub fn publish(sh: &Shell, flags: flags::Publish) -> anyhow::Result<()> {
349349
println!("Aborting publish for crate '{member}'");
350350
return Err::<(), _>(err);
351351
}
352-
} else {
353-
println!("Waiting for crates.io to catch up...");
354-
std::thread::sleep(std::time::Duration::from_secs(15));
355-
break;
356352
}
357353
}
358354
}

0 commit comments

Comments
 (0)