mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00

This reverts commit b24df49a9d26057b44a869c6effce494ec10dd35 so we can merge the CHANGELOG changes in #4691 into master.
15 lines
236 B
Rust
15 lines
236 B
Rust
use tests_build::tokio;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<(), ()> {
|
|
loop {
|
|
if !never() {
|
|
return Ok(());
|
|
}
|
|
}
|
|
}
|
|
|
|
fn never() -> bool {
|
|
std::time::Instant::now() > std::time::Instant::now()
|
|
}
|