mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-18 00:10:14 +00:00
@@ -167,6 +167,7 @@ __go_gcflags() {
|
|||||||
'-race[enable race detector]' \
|
'-race[enable race detector]' \
|
||||||
'-shared[generate code that can be linked into a shared library]' \
|
'-shared[generate code that can be linked into a shared library]' \
|
||||||
'-smallframes[reduce the size limit for stack allocated objects]' \
|
'-smallframes[reduce the size limit for stack allocated objects]' \
|
||||||
|
'-spectre=[enable spectre mitigations]:mitigations:(all index ret)' \
|
||||||
'-std[compiling standard library]' \
|
'-std[compiling standard library]' \
|
||||||
'-symabis=[read symbol ABIs from file]:file' \
|
'-symabis=[read symbol ABIs from file]:file' \
|
||||||
'-traceprofile=[write an execution trace to file]:file' \
|
'-traceprofile=[write an execution trace to file]:file' \
|
||||||
@@ -235,6 +236,8 @@ __go_envvarvals() {
|
|||||||
GCCGOTOOLDIR)
|
GCCGOTOOLDIR)
|
||||||
;&
|
;&
|
||||||
GOPATH)
|
GOPATH)
|
||||||
|
;&
|
||||||
|
GOMODCACHE)
|
||||||
_files -/
|
_files -/
|
||||||
;;
|
;;
|
||||||
# regular files (using fallthrough)
|
# regular files (using fallthrough)
|
||||||
@@ -420,6 +423,7 @@ case $state in
|
|||||||
"GOPRIVATE[modules that should always be fetched directly]:comma separated glob patterns"
|
"GOPRIVATE[modules that should always be fetched directly]:comma separated glob patterns"
|
||||||
"GONOPROXY[modules that should always be fetched directly]:comma separated glob patterns"
|
"GONOPROXY[modules that should always be fetched directly]:comma separated glob patterns"
|
||||||
"GONOSUMDB[modules that should not be compared against the checksum db]:comma separated glob patterns"
|
"GONOSUMDB[modules that should not be compared against the checksum db]:comma separated glob patterns"
|
||||||
|
"GOMODCACHE[module cache directory]:path"
|
||||||
"GOSUMDB[checksum database]:name(+publickey( url))"
|
"GOSUMDB[checksum database]:name(+publickey( url))"
|
||||||
"AR[command for manipulating library archives (for gccgo)]:archive manipulation program"
|
"AR[command for manipulating library archives (for gccgo)]:archive manipulation program"
|
||||||
"CC[command to compile C code]:C compiler"
|
"CC[command to compile C code]:C compiler"
|
||||||
|
|||||||
Reference in New Issue
Block a user