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

Commit

Permalink
service: fix wasm compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva committed Aug 4, 2020
1 parent 79d3d05 commit 4cc3bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/service/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ mod sysinfo {
}
}

#[cfg(any(target_os = "android", target_os = "ios"))]
#[cfg(not(all(any(unix, windows), not(target_os = "android"), not(target_os = "ios"))))]
mod noop {
use super::ProcessInfo;

Expand Down Expand Up @@ -413,7 +413,7 @@ type System = linux::System;
not(target_os = "linux")
))]
type System = sysinfo::System;
#[cfg(any(target_os = "android", target_os = "ios"))]
#[cfg(not(all(any(unix, windows), not(target_os = "android"), not(target_os = "ios"))))]
type System = noop::System;

pub struct MetricsService {
Expand Down

0 comments on commit 4cc3bb0

Please sign in to comment.