mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
fix(background_hang_monitor): Use DummySampler on Windows ARM64 (#42341)
Windows ARM64 (aarch64, MSVC) does not support native profiling. PR updates platform configuration to route Windows ARM64 to DummySampler, aligning it with other unsupported targets (e.g., Linux musl) and fixing build compatibility. PR #42312 - Updates platform configuration + conditional compilation - Background hang monitor (lib.rs) now selects DummySampler on Windows ARM64 - Uses DummySampler as SamplerImpl for aarch64 Windows build/compatibility fix only. --------- Signed-off-by: npiesco <ngpiesco@gmail.com>
This commit is contained in:
@@ -36,6 +36,7 @@ pub use self::background_hang_monitor::*;
|
||||
target_env = "musl"
|
||||
)
|
||||
),
|
||||
all(target_os = "windows", target_arch = "aarch64"),
|
||||
))]
|
||||
pub(crate) use crate::sampler::DummySampler as SamplerImpl;
|
||||
#[cfg(all(
|
||||
|
||||
Reference in New Issue
Block a user