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 May 8, 2023
1 parent 2e16f9c commit e16f552
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xtask/src/pipelines.rs
Expand Up @@ -357,10 +357,6 @@ pub fn publish(sh: &Shell, flags: flags::Publish) -> anyhow::Result<()> {
println!("Aborting publish for crate '{crate_name}'");
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 e16f552

Please sign in to comment.