fix gocache for 1.12

This commit is contained in:
Darien Raymond
2019-02-26 11:26:22 +01:00
parent 2708be9d43
commit 3c9fe03ee2
+2 -1
View File
@@ -28,7 +28,8 @@ def _go_command(ctx):
"CGO_ENABLED=0",
"GOOS="+ctx.attr.os,
"GOARCH="+ctx.attr.arch,
"GOROOT_FINAL=/go"
"GOROOT_FINAL=/go",
"GOCACHE=@D",
]
if ctx.attr.mips: # https://github.com/golang/go/issues/27260