diff --git a/reverie-examples/chaos.rs b/reverie-examples/chaos.rs index 8c2086b..1ce3425 100644 --- a/reverie-examples/chaos.rs +++ b/reverie-examples/chaos.rs @@ -111,7 +111,6 @@ impl Tool for ChaosTool { syscall.display(&memory), ); - #[allow(unreachable_code)] return guest.tail_inject(syscall).await; } @@ -154,7 +153,6 @@ impl Tool for ChaosTool { count, syscall.display(&memory), ); - #[allow(unreachable_code)] return guest.tail_inject(x).await; } }; diff --git a/reverie-examples/chunky_print.rs b/reverie-examples/chunky_print.rs index 16ce736..d57732b 100644 --- a/reverie-examples/chunky_print.rs +++ b/reverie-examples/chunky_print.rs @@ -227,7 +227,6 @@ impl Tool for ChunkyPrintLocal { " [chunky_print] letting through write on redirected stdout, {} bytes.", w.len() ); - #[allow(unreachable_code)] return guest.tail_inject(call).await; } Which::Stdout @@ -237,7 +236,6 @@ impl Tool for ChunkyPrintLocal { " [chunky_print] letting through write on redirected stderr, {} bytes.", w.len() ); - #[allow(unreachable_code)] return guest.tail_inject(call).await; } Which::Stderr diff --git a/reverie-ptrace/src/task.rs b/reverie-ptrace/src/task.rs index 1157421..1850df0 100644 --- a/reverie-ptrace/src/task.rs +++ b/reverie-ptrace/src/task.rs @@ -1548,7 +1548,6 @@ impl TracedTask { ); } Wait::Exited(_pid, exit_status) => { - #[allow(unreachable_code)] break self.exit(exit_status).await; } }