Turn on freedom splice by default

This commit is contained in:
yuhan6665 2023-10-28 17:25:25 -04:00
parent 4f05e0ac2b
commit 999bdc58d3

View file

@ -43,7 +43,7 @@ func init() {
const defaultFlagValue = "NOT_DEFINED_AT_ALL" const defaultFlagValue = "NOT_DEFINED_AT_ALL"
value := platform.NewEnvFlag(platform.UseFreedomSplice).GetValue(func() string { return defaultFlagValue }) value := platform.NewEnvFlag(platform.UseFreedomSplice).GetValue(func() string { return defaultFlagValue })
switch value { switch value {
case "auto", "enable": case defaultFlagValue, "auto", "enable":
useSplice = true useSplice = true
} }
} }