refactor: 添加no_gvisor 编译tag, 剔除gvisor stack支持, 方便在arm设备上debug

This commit is contained in:
Skyxim
2022-06-03 20:07:30 +08:00
parent 1298d2f8b6
commit ed9b9ce3c5
26 changed files with 197 additions and 57 deletions

View File

@ -1,5 +1,3 @@
//go:build !no_doq
package dns
import (

View File

@ -1,10 +0,0 @@
//go:build no_doq
package dns
import "github.com/Dreamacro/clash/log"
func newDOQ(r *Resolver, addr, proxyAdapter string) dnsClient {
log.Fatalln("unsupported feature on the build")
return nil
}