diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-07-22 23:21:21 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-22 23:21:21 +0000 |
commit | 88d2090454461e5ef762de803fd96d6412faa254 (patch) | |
tree | 9ba80b5a6ba404cfc2d40782c36243c64ad7e971 /pkg/sentry/arch | |
parent | 19c15720f7c7b13efa97c2458df95a5ff3fea2dc (diff) | |
parent | d706922d788a1bbc9f1c917af1a08ca86488aab0 (diff) |
Merge d706922d (automated)
Diffstat (limited to 'pkg/sentry/arch')
-rw-r--r-- | pkg/sentry/arch/arch.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/arch/arch.go b/pkg/sentry/arch/arch.go index ace7d5b18..498ca4669 100644 --- a/pkg/sentry/arch/arch.go +++ b/pkg/sentry/arch/arch.go @@ -33,6 +33,8 @@ type Arch int const ( // AMD64 is the x86-64 architecture. AMD64 Arch = iota + // ARM64 is the aarch64 architecture. + ARM64 ) // String implements fmt.Stringer. @@ -40,6 +42,8 @@ func (a Arch) String() string { switch a { case AMD64: return "amd64" + case ARM64: + return "arm64" default: return fmt.Sprintf("Arch(%d)", a) } |