Make gVisor optional

This commit is contained in:
世界 2022-09-15 11:19:31 +08:00
parent 057dd738a7
commit 0e80d729a3
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
11 changed files with 23 additions and 26 deletions

View file

@ -1,4 +1,4 @@
//go:build !(no_gvisor || !(linux || windows || darwin))
//go:build with_gvisor
package tun