MCPcopy Create free account
hub / github.com/WAVM/WAVM / get_host_arch

Function get_host_arch

Build/lib/platform.py:89–130  ·  view source on GitHub ↗

Get the true host CPU architecture, normalized to a canonical name. Returns "x86_64" or "aarch64". On ARM64 Windows running emulated x64 Python, platform.machine() incorrectly reports 'AMD64'. This function uses IsWow64Process2 to detect the true native architecture on Windows.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

run_benchmarksFunction · 0.85
detect_toolchainsFunction · 0.85
get_target_archFunction · 0.85
is_cross_compilingFunction · 0.85
is_rosettaFunction · 0.85
init_envFunction · 0.85

Calls 1

verboseMethod · 0.80

Tested by

no test coverage detected