aboutsummaryrefslogtreecommitdiffstats
path: root/rwcancel/rwcancel_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'rwcancel/rwcancel_stub.go')
-rw-r--r--rwcancel/rwcancel_stub.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/rwcancel/rwcancel_stub.go b/rwcancel/rwcancel_stub.go
new file mode 100644
index 0000000..2a98b2b
--- /dev/null
+++ b/rwcancel/rwcancel_stub.go
@@ -0,0 +1,9 @@
+//go:build windows || wasm
+
+// SPDX-License-Identifier: MIT
+
+package rwcancel
+
+type RWCancel struct{}
+
+func (*RWCancel) Cancel() {}