mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Hide windows sampler on arm64.
This commit is contained in:
parent
b90726de97
commit
b8aac8b152
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue