Skip to content

Commit e16f552

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 2e16f9c commit e16f552

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
@@ -357,10 +357,6 @@ pub fn publish(sh: &Shell, flags: flags::Publish) -> anyhow::Result<()> {
357357
println!("Aborting publish for crate '{crate_name}'");
358358
return Err::<(), _>(err);
359359
}
360-
} else {
361-
println!("Waiting for crates.io to catch up...");
362-
std::thread::sleep(std::time::Duration::from_secs(15));
363-
break;
364360
}
365361
}
366362
}

0 commit comments

Comments
 (0)