ipc, rwcancel: compile on js/wasm
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
fdf57a1fa4
commit
82e0b734e5
10
rwcancel/rwcancel_stub.go
Normal file
10
rwcancel/rwcancel_stub.go
Normal file
@@ -0,0 +1,10 @@
|
||||
//go:build windows || js
|
||||
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package rwcancel
|
||||
|
||||
type RWCancel struct {
|
||||
}
|
||||
|
||||
func (*RWCancel) Cancel() {}
|
||||
Reference in New Issue
Block a user