diff --git a/src/dumb.rs b/src/dumb.rs new file mode 100644 index 0000000..61c0222 --- /dev/null +++ b/src/dumb.rs @@ -0,0 +1,21 @@ +use std::{ + future::Future, + pin::Pin, + task::{Context, Poll}, +}; + +use tracing::info; + +pub struct DumbFuture {} + +impl Future for DumbFuture { + type Output = (); + + fn poll(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll { + unsafe { + *(0xF00D as *mut u64) = 0x0; + } + + unreachable!(); + } +}