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:
npiesco
2026-02-05 21:56:16 -05:00
committed by GitHub
parent be6a2f99a1
commit aa5854ffe3

View File

@@ -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(