[Fix] languages config

This commit is contained in:
Harry-zklcdc 2021-07-12 14:39:29 +08:00
parent dd2a52b0c8
commit 9be5ea80ca

View File

@ -521,7 +521,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/go"]
},
"run": {
"command": "{exe_path}",