Skip to content

Commit

Permalink
debugging open-telemetry#5
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelewski committed Apr 25, 2023
1 parent e570185 commit d82cdba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions instrgen/driver/passes.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func CheckSema(projectPath string) error {

conf := loader.Config{ParserMode: parser.ParseComments, Cwd: filepath.Join(cwd, projectPath)}
//conf.Build.CgoEnabled = false
os.Setenv("CGO_ENABLED", "0")
fmt.Println("CGO_ENABLED:", os.Getenv("CGO_ENABLED"))
fmt.Println(conf)
conf.Import(".")
Expand Down

0 comments on commit d82cdba

Please sign in to comment.