fix go build

This commit is contained in:
LiYang 2021-09-14 09:51:19 +08:00 committed by GitHub
parent 7134bbd949
commit 99b145e37c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ _go_lang_config = {
"max_real_time": 5000,
"max_memory": 1024 * 1024 * 1024,
"compile_command": "/usr/bin/go build -o {exe_path} {src_path}",
"env": ["GOCACHE=/tmp"]
"env": ["GOCACHE=/tmp", "GOPATH=/tmp"]
},
"run": {
"command": "{exe_path}",