From 34bc139642b0caed49b2ba2dcb9ccff10e04c55f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 13 Sep 2017 19:16:32 +0200 Subject: sys: compile all supported targets into the package Currently we compile in only GOOS/GOARCH target. Compile in all targets so that they can be selected at runtime. --- prog/types.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'prog') diff --git a/prog/types.go b/prog/types.go index 0302e9ee3..d3f195f89 100644 --- a/prog/types.go +++ b/prog/types.go @@ -283,6 +283,11 @@ type KeyedStruct struct { Desc *StructDesc } +type ConstValue struct { + Name string + Value uint64 +} + func ForeachType(meta *Syscall, f func(Type)) { seen := make(map[*StructDesc]bool) var rec func(t Type) -- cgit mrf-deployment