Move some types to runtime, use reflection instead of lut
This commit is contained in:
1 parent
39bdf4d710
commit
a10f988020
3 files changed
+56
-79
No files matched your search
@@ -33,14 +33,14 @@ package main
|
||||
`,
|
||||
tags = {
|
||||
build = {
|
||||
{os = {.Linux}, arch = parser.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.Darwin}, arch = parser.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.FreeBSD}, arch = parser.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.OpenBSD}, arch = parser.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.NetBSD}, arch = parser.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.Haiku}, arch = parser.ALL_ODIN_ARCH_TYPES},
|
||||
{os = parser.ALL_ODIN_OS_TYPES, arch = {.arm32}},
|
||||
{os = parser.ALL_ODIN_OS_TYPES, arch = {.arm64}},
|
||||
{os = {.Linux}, arch = runtime.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.Darwin}, arch = runtime.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.FreeBSD}, arch = runtime.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.OpenBSD}, arch = runtime.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.NetBSD}, arch = runtime.ALL_ODIN_ARCH_TYPES},
|
||||
{os = {.Haiku}, arch = runtime.ALL_ODIN_ARCH_TYPES},
|
||||
{os = runtime.ALL_ODIN_OS_TYPES, arch = {.arm32}},
|
||||
{os = runtime.ALL_ODIN_OS_TYPES, arch = {.arm64}},
|
||||
},
|
||||
},
|
||||
}, {// [3]
|
||||
|
||||
Reference in new issue
Block a user