Lines Matching refs:Env
83 slurp, err := exec.Command("go", "env", "CGO_ENABLED").Output()
85 log.Fatalf("Error running go env CGO_ENABLED: %v", err)
356 cmd.Env = mergeEnvLists([]string{"GOMAXPROCS=2"}, os.Environ())
590 env := mergeEnvLists([]string{"GOTRACEBACK=2"}, os.Environ())
594 cmd.Env = env
599 cmd.Env = env
607 cmd.Env = env
623 cmd.Env = env
628 cmd.Env = env
639 cmd.Env = env
644 cmd.Env = env
649 cmd.Env = env
667 cmd.Env = env
673 cmd.Env = env
679 cmd.Env = env
685 cmd.Env = env
691 cmd.Env = env
700 cmd.Env = env
706 cmd.Env = env
711 cmd.Env = env
716 cmd.Env = env
744 output, err := exec.Command("go", "env", "CC").Output()
746 return fmt.Errorf("Error running go env CC: %v", err)
750 return errors.New("CC environment variable (go env CC) cannot be empty")
752 output, err = exec.Command("go", "env", "GOGCCFLAGS").Output()
754 return fmt.Errorf("Error running go env GOGCCFLAGS: %v", err)
787 cmd.Env = mergeEnvLists([]string{s + "=."}, os.Environ())
819 env := mergeEnvLists([]string{"GOTRACEBACK=2"}, os.Environ())
821 cmd.Env = env
838 cmd.Env = mergeEnvLists([]string{"GOOS=" + t.gohostos, "GOARCH=" + t.gohostarch, "GOMAXPROCS="}, os.Environ())