Skip to content
Permalink
Browse files

Hide windows sampler on arm64.

  • Loading branch information...
jdm committed May 30, 2019
1 parent b90726d commit b8aac8b1529b7a4d1505f51f60a80b1076cdf1d3
Showing with 4 additions and 1 deletion.
  1. +4 −1 components/background_hang_monitor/background_hang_monitor.rs
@@ -51,7 +51,10 @@ impl BackgroundHangMonitorRegister for HangMonitorRegister {
) -> Box<BackgroundHangMonitor> {
let bhm_chan = BackgroundHangMonitorChan::new(self.sender.clone(), component_id);

#[cfg(target_os = "windows")]
#[cfg(all(
target_os = "windows",
any(target_arch = "x86_64", target_arch = "x86")
))]
let sampler = crate::sampler_windows::WindowsSampler::new();
#[cfg(target_os = "macos")]
let sampler = crate::sampler_mac::MacOsSampler::new();

0 comments on commit b8aac8b

Please sign in to comment.
You can’t perform that action at this time.