Skip to content

Commit

Permalink
xtask/pipeline/publish: Drop manual "wait"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
har7an committed Mar 21, 2023
1 parent 19285a7 commit 3f11dbe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xtask/src/pipelines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 3f11dbe

Please sign in to comment.