mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
On linux without X11 or Wayland, reduced the panic message to a single line (#681)
This commit is contained in:
committed by
Francesca Plebani
parent
c744b016ce
commit
062bb0cef2
@@ -430,10 +430,7 @@ impl EventsLoop {
|
||||
};
|
||||
|
||||
let err_string = format!(
|
||||
r#"Failed to initialize any backend!
|
||||
Wayland status: {:#?}
|
||||
X11 status: {:#?}
|
||||
"#,
|
||||
"Failed to initialize any backend! Wayland status: {:?} X11 status: {:?}",
|
||||
wayland_err,
|
||||
x11_err,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user