ipc, rwcancel: compile on js/wasm

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-10-20 08:56:39 -07:00
committed by Jason A. Donenfeld
parent fdf57a1fa4
commit 82e0b734e5
3 changed files with 18 additions and 1 deletions

10
rwcancel/rwcancel_stub.go Normal file
View File

@@ -0,0 +1,10 @@
//go:build windows || js
// SPDX-License-Identifier: MIT
package rwcancel
type RWCancel struct {
}
func (*RWCancel) Cancel() {}