Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bypass shadow #236

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/xgo/shadow/shadow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions cmd/xgo/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading