diff options
| author | P1umer <1226063714@qq.com> | 2022-07-20 18:38:41 +0800 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-01-03 11:08:12 +0100 |
| commit | 08b7160aa773ecc3307eefc98e829cd10daa4b69 (patch) | |
| tree | 40d8b25889cbb08c9c8e1818f5811ec4c32aeb00 /pkg/compiler/const_file.go | |
| parent | d43e0eb8383103553f75484a13b605408ddb5abd (diff) | |
all: add freebsd/riscv64 support
Diffstat (limited to 'pkg/compiler/const_file.go')
| -rw-r--r-- | pkg/compiler/const_file.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/compiler/const_file.go b/pkg/compiler/const_file.go index 8f4bfe390..6755fffc8 100644 --- a/pkg/compiler/const_file.go +++ b/pkg/compiler/const_file.go @@ -90,6 +90,8 @@ func (cf *ConstFile) Serialize() []byte { for arch := range cf.arches { arches = append(arches, arch) } + arches = append(arches, "riscv64") + sort.Strings(arches) var consts []constVal for _, cv := range cf.m { |
