mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
[NFC] servoshell: fix rust-analyzer and rustfmt breakage (#30340)
This commit is contained in:
parent
1bbd0c1e6e
commit
90ad5920e2
20 changed files with 271 additions and 216 deletions
|
@ -7,9 +7,13 @@ pub fn install() {}
|
|||
|
||||
#[cfg(any(target_os = "macos", target_os = "linux"))]
|
||||
pub fn install() {
|
||||
use crate::backtrace;
|
||||
use std::io::Write;
|
||||
use std::sync::atomic;
|
||||
use std::thread;
|
||||
|
||||
use sig::ffi::Sig;
|
||||
use std::{io::Write, sync::atomic, thread};
|
||||
|
||||
use crate::backtrace;
|
||||
|
||||
extern "C" fn handler(sig: i32) {
|
||||
// Only print crash message and backtrace the first time, to avoid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue