diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-05-12 09:15:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-12 09:15:58 +0200 |
| commit | 160c7698277b071db0da01116b9ff94e51ebfd8a (patch) | |
| tree | e5a799a042f6714fa99d4cc93ab0aabb2fc5563d /sys | |
| parent | a497a5b4b932c288c1bf5c736258aac4c0e5f7da (diff) | |
pkg/mgrconfig: fix errors reported by linter
pkg/mgrconfig/load.go:78:1: cyclomatic complexity 26 of func `Complete` is high (> 24)
sys/targets/targets.go:217: File is not `gofmt`-ed with `-s`
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/targets/targets.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/targets/targets.go b/sys/targets/targets.go index c4dedf73e..a1cb1e4cc 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -214,13 +214,13 @@ var List = map[string]map[string]*Target{ NeedSyscallDefine: dontNeedSyscallDefine, }, "386": { - VMArch: "amd64", - PtrSize: 4, - PageSize: 4 << 10, - Int64Alignment: 4, - CCompiler: "c++", - CFlags: []string{"-m32"}, - CrossCFlags: []string{"-m32", "-static"}, + VMArch: "amd64", + PtrSize: 4, + PageSize: 4 << 10, + Int64Alignment: 4, + CCompiler: "c++", + CFlags: []string{"-m32"}, + CrossCFlags: []string{"-m32", "-static"}, NeedSyscallDefine: dontNeedSyscallDefine, }, }, |
