mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
chore: 添加tag no_doq 编译不含doq版本, 仅减少1.5MB(macOS-arm64)
This commit is contained in:
parent
6e84f685ce
commit
1298d2f8b6
|
@ -1,3 +1,5 @@
|
||||||
|
//go:build !no_doq
|
||||||
|
|
||||||
package dns
|
package dns
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
10
dns/no_doq.go
Normal file
10
dns/no_doq.go
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
//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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user