mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
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()
|
|
}
|