diff --git a/reverie-ptrace/src/gdbstub/session.rs b/reverie-ptrace/src/gdbstub/session.rs index 1faee91..3366f5f 100644 --- a/reverie-ptrace/src/gdbstub/session.rs +++ b/reverie-ptrace/src/gdbstub/session.rs @@ -719,7 +719,7 @@ impl Session { /// Set a breakpoint. must have an active inferior. async fn set_breakpoint(&self, bkpt: Breakpoint) -> Result<(), Error> { - self.with_current_inferior(async move |inferior| { + self.with_current_inferior(move |inferior| async move { let request_tx = inferior .request_tx .as_ref() @@ -744,7 +744,7 @@ impl Session { } async fn remove_breakpoint(&self, bkpt: Breakpoint) -> Result<(), Error> { - self.with_current_inferior(async move |inferior| { + self.with_current_inferior(move |inferior| async move { let request_tx = inferior .request_tx .as_ref() @@ -770,7 +770,7 @@ impl Session { } async fn read_inferior_memory(&self, addr: u64, size: usize) -> Result, Error> { - self.with_current_inferior(async move |inferior| { + self.with_current_inferior(move |inferior| async move { let request_tx = inferior .request_tx .as_ref() @@ -794,7 +794,7 @@ impl Session { data: Vec, ) -> Result<(), Error> { let data = data.clone(); - self.with_current_inferior(async move |inferior| { + self.with_current_inferior(move |inferior| async move { let request_tx = inferior .request_tx .as_ref() @@ -812,7 +812,7 @@ impl Session { } async fn read_registers(&self) -> Result { - self.with_current_inferior(async move |inferior| { + self.with_current_inferior(move |inferior| async move { let request_tx = inferior .request_tx .as_ref() @@ -830,7 +830,7 @@ impl Session { } async fn write_registers(&self, regs: Vec) -> Result<(), Error> { - self.with_current_inferior(async move |inferior| { + self.with_current_inferior(move |inferior| async move { let regs = regs.as_slice(); let request_tx = inferior .request_tx diff --git a/reverie-ptrace/src/lib.rs b/reverie-ptrace/src/lib.rs index c9843a0..9b57155 100644 --- a/reverie-ptrace/src/lib.rs +++ b/reverie-ptrace/src/lib.rs @@ -28,7 +28,6 @@ //! #![deny(missing_docs)] #![deny(rustdoc::broken_intra_doc_links)] -#![feature(async_closure)] #![feature(internal_output_capture)] #![feature(never_type)] #![feature(map_first_last)]