mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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> {
|
) -> Box<BackgroundHangMonitor> {
|
||||||
let bhm_chan = BackgroundHangMonitorChan::new(self.sender.clone(), component_id);
|
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();
|
let sampler = crate::sampler_windows::WindowsSampler::new();
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
let sampler = crate::sampler_mac::MacOsSampler::new();
|
let sampler = crate::sampler_mac::MacOsSampler::new();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue