Update for go 1.19
'tool compile' no longer accepts '-importmap'
This commit is contained in:
		
							parent
							
								
									11258bcd48
								
							
						
					
					
						commit
						40c1e44216
					
				|  | @ -30,7 +30,7 @@ | ||||||
| # Description | # Description | ||||||
| # ----------- | # ----------- | ||||||
| # | # | ||||||
| #  Completion script for go 1.18 (http://golang.org). | #  Completion script for go 1.19 (http://golang.org). | ||||||
| # | # | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| # Authors | # Authors | ||||||
|  | @ -144,7 +144,6 @@ __go_gcflags() { | ||||||
|   '-goversion=[required version of the runtime]:string' \ |   '-goversion=[required version of the runtime]:string' \ | ||||||
|   '-h[halt on error]' \ |   '-h[halt on error]' \ | ||||||
|   '-importcfg=[read import configuration from file]:file' \ |   '-importcfg=[read import configuration from file]:file' \ | ||||||
|   '-importmap=[add definition of the form source=actual to import map]:definition' \ |  | ||||||
|   '-installsuffix=[set pkg directory suffix]:suffix' \ |   '-installsuffix=[set pkg directory suffix]:suffix' \ | ||||||
|   '-j[debug runtime-initialized variables]' \ |   '-j[debug runtime-initialized variables]' \ | ||||||
|   '-json=[version,destination for JSON compiler/optimizer logging]:string' \ |   '-json=[version,destination for JSON compiler/optimizer logging]:string' \ | ||||||
|  | @ -811,7 +810,6 @@ case $state in | ||||||
|                   '-g[debug code generation]' \ |                   '-g[debug code generation]' \ | ||||||
|                   '-h[halt on error]' \ |                   '-h[halt on error]' \ | ||||||
|                   '-i[debug line number stack]' \ |                   '-i[debug line number stack]' \ | ||||||
|                   '-importmap[add definition of the form source=actual to import map]:definition' \ |  | ||||||
|                   '-installsuffix[set pkg directory suffix]:suffix' \ |                   '-installsuffix[set pkg directory suffix]:suffix' \ | ||||||
|                   '-j[debug runtime-initialized variables]' \ |                   '-j[debug runtime-initialized variables]' \ | ||||||
|                   '-l[disable inlining]' \ |                   '-l[disable inlining]' \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue