From 0bc6f9ad2197f87e826285c6c102513ac9f72aac Mon Sep 17 00:00:00 2001 From: Cameron Pickett Date: Wed, 13 Nov 2024 10:42:08 -0800 Subject: [PATCH] update platform010 & platform010-aarch64 symlinks Summary: Upgrade to 1.82.0 with the minimal set of changes to keep everything building. Reviewed By: dtolnay Differential Revision: D65324129 fbshipit-source-id: 8266029f01dcc80dd78c169286b08707f36fc761 --- reverie-examples/chaos.rs | 2 ++ reverie-examples/chunky_print.rs | 2 ++ reverie-ptrace/src/task.rs | 1 + 3 files changed, 5 insertions(+) diff --git a/reverie-examples/chaos.rs b/reverie-examples/chaos.rs index 1ce3425..8c2086b 100644 --- a/reverie-examples/chaos.rs +++ b/reverie-examples/chaos.rs @@ -111,6 +111,7 @@ impl Tool for ChaosTool { syscall.display(&memory), ); + #[allow(unreachable_code)] return guest.tail_inject(syscall).await; } @@ -153,6 +154,7 @@ 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 d57732b..16ce736 100644 --- a/reverie-examples/chunky_print.rs +++ b/reverie-examples/chunky_print.rs @@ -227,6 +227,7 @@ 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 @@ -236,6 +237,7 @@ 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 1850df0..1157421 100644 --- a/reverie-ptrace/src/task.rs +++ b/reverie-ptrace/src/task.rs @@ -1548,6 +1548,7 @@ impl TracedTask { ); } Wait::Exited(_pid, exit_status) => { + #[allow(unreachable_code)] break self.exit(exit_status).await; } }