Skip to main content

Module platform

Module platform 

Source
Expand description

OS / architecture detection and target-triple normalization.

Different SDKs name their platform assets differently (node uses darwin-arm64, go uses darwin-arm64 too but linux-amd64, python-build- standalone uses full LLVM triples like x86_64-unknown-linux-gnu). We detect the host once here and let each backend map it to its own naming scheme.

Structs§

Platform

Enums§

Arch
Libc
C library flavor, relevant on Linux (glibc vs musl).
Os