mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 17:06:47 +00:00
chore: add no_fake_tcp complie option
This commit is contained in:
1 parent
c3ed06e99d
commit
c6873c5c04
5 files changed
+9
-16
No files matched your search
@@ -1,7 +0,0 @@
|
||||
//go:build no_doq
|
||||
|
||||
package features
|
||||
|
||||
func init() {
|
||||
TAGS = append(TAGS, "no_doq")
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
//go:build no_fake_tcp
|
||||
|
||||
package features
|
||||
|
||||
func init() {
|
||||
TAGS = append(TAGS, "no_fake_tcp")
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
//go:build no_gvisor
|
||||
|
||||
package features
|
||||
|
||||
func init() {
|
||||
TAGS = append(TAGS, "no_gvisor")
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build linux
|
||||
//go:build linux && !no_fake_tcp
|
||||
// +build linux
|
||||
|
||||
package faketcp
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !linux
|
||||
//go:build !linux || no_fake_tcp
|
||||
// +build !linux
|
||||
|
||||
package faketcp
|
||||
|
||||
Reference in new issue
Block a user