github.com/MerlinKodo/sing-tun@v0.1.15/stack_lwip_stub.go (about)

     1  //go:build !with_lwip
     2  
     3  package tun
     4  
     5  import E "github.com/sagernet/sing/common/exceptions"
     6  
     7  func NewLWIP(
     8  	options StackOptions,
     9  ) (Stack, error) {
    10  	return nil, E.New(`LWIP is not included in this build, rebuild with -tags with_lwip`)
    11  }