MCPcopy Index your code
hub / github.com/nodejs/node / machine_target

Function machine_target

deps/v8/tools/dev/gen-static-roots.py:101–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100
101def machine_target():
102 raw = platform.machine()
103 raw_lower = raw.lower()
104 if raw_lower == "x86_64" or raw_lower == "amd64":
105 return "x64"
106 if raw_lower == "aarch64":
107 return "arm64"
108 return raw
109
110
111V8_PATH = Path(__file__).parents[2]

Callers 1

build_and_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…