In Development Package, API may change between versions.

import "github.com/egdaemon/eg/runtime/x/wasi/egarch"

Package egarchx maps GOARCH architecture names (amd64, arm64, 386, arm) to various third-party architecture naming conventions.

func Dart

func Dart() string

Dart see DartFrom provided the current runtime.GOARCH

func DartFrom

func DartFrom(arch string) string

DartFrom maps GOARCH/dpkg architecture names (386, amd64, arm, arm64) to dart names (ia32, x64, arm, arm64).

func Host

func Host() string

Host arch

func POSIX

func POSIX() string

POSIX see POSIXFrom

func POSIXFrom

func POSIXFrom(arch string) string

POSIXFrom maps GOARCH/dpkg architecture names (amd64, arm64, 386, arm) to POSIXFrom uname -m machine hardware names (x86_64, aarch64, i686, armhf).