Ver código fonte

Fix wasm build

Fangliding 3 meses atrás
pai
commit
6c636a798c
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      common/buf/readv_reader_stub.go

+ 3 - 1
common/buf/readv_reader_stub.go

@@ -6,10 +6,12 @@ package buf
 import (
 	"io"
 	"syscall"
+
+	"github.com/xtls/xray-core/features/stats"
 )
 
 const useReadv = false
 
-func NewReadVReader(reader io.Reader, rawConn syscall.RawConn) Reader {
+func NewReadVReader(reader io.Reader, rawConn syscall.RawConn, counter stats.Counter) Reader {
 	panic("not implemented")
 }