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 Apr 11, 2023
1 parent a15f432 commit 0938a20
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xtask/src/pipelines.rs
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 0938a20

Please sign in to comment.