sing-box/transport/openconnect/device_stack_stub.go
2026-07-17 17:42:02 +08:00

14 lines
398 B
Go

//go:build !with_gvisor
package openconnect
import E "github.com/sagernet/sing/common/exceptions"
func newStackDevice(options DeviceOptions) (Device, error) {
return nil, E.New("OpenConnect system:false requires the with_gvisor build tag")
}
func newSystemStackDevice(options DeviceOptions) (Device, error) {
return nil, E.New("OpenConnect system stack requires the with_gvisor build tag")
}