(env []string, key, value string)
| 1606 | const is64Bit = uint64(^uintptr(0)) == ^uint64(0) |
| 1607 | |
| 1608 | func overrideEnv(env []string, key, value string) []string { |
| 1609 | prefix := key + "=" |
| 1610 | for i, e := range env { |
| 1611 | if strings.HasPrefix(e, prefix) { |
| 1612 | env[i] = prefix + value |
| 1613 | return env |
| 1614 | } |
| 1615 | } |
| 1616 | return append(env, prefix+value) |
| 1617 | } |
| 1618 | |
| 1619 | func getCrash(t *testing.T, main string, disableInline bool) []byte { |
| 1620 | args := []string{"run"} |
no outgoing calls
no test coverage detected
searching dependent graphs…