diff --git a/cmd/xgo/shadow/shadow.go b/cmd/xgo/shadow/shadow.go index 3cb06214..9f7be79b 100644 --- a/cmd/xgo/shadow/shadow.go +++ b/cmd/xgo/shadow/shadow.go @@ -31,7 +31,7 @@ func main() { subCmd = args[0] } var cmdErr error - if subCmd == "build" || subCmd == "run" || subCmd == "test" { + if os.Getenv("XGO_SHADOW_BYPASS") != "true" && (subCmd == "build" || subCmd == "run" || subCmd == "test") { cmdErr = runCmd("xgo", args, []string{"XGO_REAL_GO_BINARY=" + realGo}) } else { cmdErr = runCmd(realGo, args, nil) diff --git a/cmd/xgo/version.go b/cmd/xgo/version.go index e2708ee9..9ed3067f 100644 --- a/cmd/xgo/version.go +++ b/cmd/xgo/version.go @@ -4,8 +4,8 @@ import "fmt" // auto updated const VERSION = "1.0.44" -const REVISION = "bcb6c7f6f1aea2ee9717d3cc5f87830ed5eaf606+1" -const NUMBER = 284 +const REVISION = "30939343bbf6515721c4edd135a2564e987115f0+1" +const NUMBER = 285 // manually updated const CORE_VERSION = "1.0.43"