rosetta

package module
v0.0.0-...-3f4430f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 1 Imported by: 81

README

go-rosetta

PkgGoDev

go-rosetta provides utilities to detect if an application is running as a Rosetta translated binary, and to determine the native architecture.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available() bool

Available returns true if Rosetta is installed/available

func Enabled

func Enabled() bool

Enabled returns true if running in a Rosetta Translated Binary, false otherwise.

func NativeArch

func NativeArch() string

NativeArch returns the native architecture, even if binary architecture is emulated by Rosetta.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL