Skip to content

Support loong64 (LoongArch) architecture #1263

Description

@xuxiaowei-com-cn

What would you like to be added

Add loong64 (LoongArch 64-bit) architecture support for Linux builds and releases.

Why is this needed

LoongArch is a domestic CPU architecture with growing adoption in China. The Go toolchain has supported GOARCH=loong64 since Go 1.21, and this project already uses Go 1.26 — well above the minimum required.

The vendored dependencies (e.g. golang.org/x/sys) already include loong64-specific files (syscall_linux_loong64.go, zsyscall_linux_loong64.go, asm_linux_loong64.s, etc.), so no dependency updates are needed.

What needs to change

  • .github/workflows/test.yaml: add loong64 to LINUX_ARCHES
  • .github/workflows/release.yaml: add loong64 to the linux release goarch matrix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions