Files
sing-box-extended-mirror/protocol/bridge/backend_stub.go
T

17 lines
577 B
Go
Raw Normal View History

2026-07-08 17:38:33 +08:00
//go:build !linux && !darwin && !(windows && (amd64 || 386))
2026-07-08 00:10:00 +08:00
package bridge
import (
"context"
"github.com/sagernet/sing-box/adapter"
"github.com/sagernet/sing-box/option"
E "github.com/sagernet/sing/common/exceptions"
"github.com/sagernet/sing/common/logger"
)
func newBackend(ctx context.Context, logger logger.ContextLogger, networkManager adapter.NetworkManager, tag string, options option.BridgeOutboundOptions) (Backend, error) {
2026-07-08 17:38:33 +08:00
return nil, E.New("bridge outbound is only supported on Linux, macOS, Windows (x86 and x64), rooted Android and jailbroken iOS")
2026-07-08 00:10:00 +08:00
}