Skip to content

Commit e3787bd

Browse files
authored
Merge pull request #4632 from RalfJung/supervisor-panic
don't debug-print an Any
2 parents 4e43bfe + 1819f5e commit e3787bd

File tree

1 file changed

+3
-2
lines changed
  • src/tools/miri/src/shims/native_lib/trace

1 file changed

+3
-2
lines changed

src/tools/miri/src/shims/native_lib/trace/child.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,10 @@ pub unsafe fn init_sv() -> Result<(), SvInitError> {
228228
match init {
229229
// The "Ok" case means that we couldn't ptrace.
230230
Ok(e) => return Err(e),
231-
Err(p) => {
231+
Err(_p) => {
232232
eprintln!(
233-
"Supervisor process panicked!\n{p:?}\n\nTry running again without using the native-lib tracer."
233+
"Supervisor process panicked!\n\"
234+
Try running again without `-Zmiri-native-lib-enable-tracing`."
234235
);
235236
std::process::exit(1);
236237
}

0 commit comments

Comments
 (0)