1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-06 09:15:37 -05:00

temporarily rollback to go 1.10

This commit is contained in:
Darien Raymond
2018-08-31 12:24:49 +02:00
parent 38dd84ba03
commit 0067d3c80f
2 changed files with 2 additions and 2 deletions

View File

@@ -144,7 +144,7 @@ func init() {
value := platform.NewEnvFlag("v2ray.buf.readv").GetValue(func() string { return defaultFlagValue })
switch value {
case defaultFlagValue, "auto":
if (runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "s390x") && (runtime.GOOS == "linux" || runtime.GOOS == "darwin" || runtime.GOOS == "windows") {
if (runtime.GOARCH == "386" || runtime.GOARCH == "amd64" || runtime.GOARCH == "s390x") && (runtime.GOOS == "linux" || runtime.GOOS == "darwin") {
useReadv = true
}
case "enable":