Make gVisor optional
This commit is contained in:
parent
057dd738a7
commit
0e80d729a3
11 changed files with 23 additions and 26 deletions
|
|
@ -2,8 +2,10 @@
|
|||
|
||||
package tun
|
||||
|
||||
import E "github.com/sagernet/sing/common/exceptions"
|
||||
|
||||
func NewLWIP(
|
||||
options StackOptions,
|
||||
) (Stack, error) {
|
||||
return nil, ErrLWIPNotIncluded
|
||||
return nil, E.New(`LWIP is not included in this build, rebuild with -tags with_lwip`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue