aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ports/servoshell/lib.rs')
-rw-r--r--ports/servoshell/lib.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/ports/servoshell/lib.rs b/ports/servoshell/lib.rs
index ed29f6284e3..8e19e055265 100644
--- a/ports/servoshell/lib.rs
+++ b/ports/servoshell/lib.rs
@@ -4,21 +4,18 @@
use cfg_if::cfg_if;
-#[cfg(any(target_os = "macos", target_os = "linux"))]
-#[macro_use]
-extern crate sig;
-
#[cfg(test)]
mod test;
#[cfg(not(target_os = "android"))]
mod backtrace;
+#[cfg(not(target_env = "ohos"))]
mod crash_handler;
#[cfg(not(any(target_os = "android", target_env = "ohos")))]
pub(crate) mod desktop;
#[cfg(any(target_os = "android", target_env = "ohos"))]
mod egl;
-#[cfg(not(target_os = "android"))]
+#[cfg(not(any(target_os = "android", target_env = "ohos")))]
mod panic_hook;
mod parser;
mod prefs;