Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LaoLittle committed Dec 16, 2022
1 parent 7d8d2e9 commit 50592b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/signal/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ cfg_if! {
))] {
mod macos;
pub use macos::*;
} else if #[cfg(target_os = "linux")] {
} else if #[cfg(any(
target_os = "linux",
target_os = "android"
))] {
mod linux;
pub use linux::*;
} else if #[cfg(windows)] {
Expand Down
2 changes: 1 addition & 1 deletion src/signal/sys/unknown.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pub const fn init_signal_hook() {
pub fn init_signal_hook() {
::tracing::warn!("当前系统暂未支持处理插件异常");
}

0 comments on commit 50592b5

Please sign in to comment.