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

Function normalize_arch

deps/libffi/generate-headers.py:13–20  ·  view source on GitHub ↗
(target_arch)

Source from the content-addressed store, hash-verified

11LIBFFI_VERSION_NUMBER = '30600'
12
13def normalize_arch(target_arch):
14 aliases = {
15 'x86': 'ia32',
16 'x86_64': 'x64',
17 'arm64': 'arm64',
18 'aarch64': 'arm64',
19 }
20 return aliases.get(target_arch, target_arch)
21
22
23def get_target(os_name, target_arch):

Callers 4

get_targetFunction · 0.85
has_long_doubleFunction · 0.85
render_fficonfigFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…