Skip to content

Commit ea87446

Browse files
committed
stdio: remove panic-to-screen!
1 parent f664dc3 commit ea87446

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

library/std/src/sys/pal/xous/stdio.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,5 @@ pub fn panic_output() -> Option<impl io::Write> {
125125
// Send the "We're panicking" message (1000).
126126
try_scalar(log, LogScalar::BeginPanic.into()).ok();
127127

128-
// This is will fail in the case that the connection table is full, or if the
129-
// graphics server is not running. Most servers do not already have this connection.
130-
let gfx = try_connect("panic-to-screen!");
131-
132-
Some(PanicWriter { log, gfx })
128+
Some(PanicWriter { log, gfx: None })
133129
}

0 commit comments

Comments
 (0)