diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-13 19:16:32 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-15 16:02:37 +0200 |
| commit | 34bc139642b0caed49b2ba2dcb9ccff10e04c55f (patch) | |
| tree | 4575a76f5c97b3ec7c7dfbfe511917123e8a020b /prog | |
| parent | b16ba6390d6b2731bf5cfa0ef04aa1299b7306cf (diff) | |
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.
Diffstat (limited to 'prog')
| -rw-r--r-- | prog/types.go | 5 |
1 files changed, 5 insertions, 0 deletions
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) |
