diff options
author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2021-10-20 08:56:39 -0700 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-10-20 14:50:05 -0600 |
commit | 82e0b734e5d28f96205de65fd2179e08fd91b1db (patch) | |
tree | 1f7306f3dea903a6d3baf09eafadeeb1a891dc0e /rwcancel/rwcancel_stub.go | |
parent | fdf57a1fa4821c3d82c79325d00f00062ffde699 (diff) |
ipc, rwcancel: compile on js/wasm
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'rwcancel/rwcancel_stub.go')
-rw-r--r-- | rwcancel/rwcancel_stub.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rwcancel/rwcancel_stub.go b/rwcancel/rwcancel_stub.go new file mode 100644 index 0000000..fae47b4 --- /dev/null +++ b/rwcancel/rwcancel_stub.go @@ -0,0 +1,10 @@ +//go:build windows || js + +// SPDX-License-Identifier: MIT + +package rwcancel + +type RWCancel struct { +} + +func (*RWCancel) Cancel() {} |