mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
add support for wasm
This commit is contained in:
parent
16051587b5
commit
20f10c78b3
@ -1,4 +1,5 @@
|
||||
// +build !windows
|
||||
// +build !wasm
|
||||
|
||||
package buf
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build !wasm
|
||||
|
||||
package buf
|
||||
|
||||
import (
|
||||
|
12
common/buf/readv_reader_wasm.go
Normal file
12
common/buf/readv_reader_wasm.go
Normal file
@ -0,0 +1,12 @@
|
||||
package buf
|
||||
|
||||
import (
|
||||
"io"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
const useReadv = false
|
||||
|
||||
func NewReadVReader(reader io.Reader, rawConn syscall.RawConn) Reader {
|
||||
panic("not implemented")
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
// +build !wasm
|
||||
|
||||
package buf_test
|
||||
|
||||
import (
|
||||
|
@ -1,5 +1,3 @@
|
||||
// +build windows
|
||||
|
||||
package buf
|
||||
|
||||
import (
|
||||
|
@ -1,4 +1,5 @@
|
||||
// +build !windows
|
||||
// +build !wasm
|
||||
|
||||
package domainsocket
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// +build !windows
|
||||
// +build !wasm
|
||||
|
||||
package domainsocket
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user