风扇滑翔翼
2026-03-23 15:57:35 +08:00
committed by GitHub
parent ae3ddd1c06
commit 982c95d89a
5 changed files with 23 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
//go:build !windows && !wasm && !illumos
// +build !windows,!wasm,!illumos
//go:build !windows && !wasm && !illumos && !openbsd
// +build !windows,!wasm,!illumos,!openbsd
package buf

View File

@@ -1,5 +1,5 @@
//go:build !wasm
// +build !wasm
//go:build !wasm && !openbsd
// +build !wasm,!openbsd
package buf

View File

@@ -0,0 +1,17 @@
//go:build wasm || openbsd
// +build wasm openbsd
package buf
import (
"io"
"syscall"
"github.com/xtls/xray-core/features/stats"
)
const useReadv = false
func NewReadVReader(reader io.Reader, rawConn syscall.RawConn, counter stats.Counter) Reader {
panic("not implemented")
}

View File

@@ -1,15 +0,0 @@
//go:build wasm
// +build wasm
package buf
import (
"io"
"syscall"
)
const useReadv = false
func NewReadVReader(reader io.Reader, rawConn syscall.RawConn) Reader {
panic("not implemented")
}

View File

@@ -1,5 +1,5 @@
//go:build !wasm
// +build !wasm
//go:build !wasm && !openbsd
// +build !wasm,!openbsd
package buf_test