From 476ec158d66c4162190b5db20da245e65277f9ac Mon Sep 17 00:00:00 2001 From: Cameron Pickett Date: Wed, 13 Nov 2024 16:05:04 -0800 Subject: [PATCH] Revert D65324129: update platform010 & platform010-aarch64 symlinks Differential Revision: D65324129 Original commit changeset: 8266029f01dc Original Phabricator Diff: D65324129 fbshipit-source-id: b4f909750fa65b4f549a2d638743896c28e988e4 --- reverie-examples/chaos.rs | 2 -- reverie-examples/chunky_print.rs | 2 -- reverie-ptrace/src/task.rs | 1 - 3 files changed, 5 deletions(-) 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; } }