aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/internal/wasi/sockets/v0.2.0/tcp/empty.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/wasi/sockets/v0.2.0/tcp/empty.s')
-rw-r--r--src/internal/wasi/sockets/v0.2.0/tcp/empty.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/internal/wasi/sockets/v0.2.0/tcp/empty.s b/src/internal/wasi/sockets/v0.2.0/tcp/empty.s
new file mode 100644
index 000000000..5444f2006
--- /dev/null
+++ b/src/internal/wasi/sockets/v0.2.0/tcp/empty.s
@@ -0,0 +1,3 @@
+// This file exists for testing this package without WebAssembly,
+// allowing empty function bodies with a //go:wasmimport directive.
+// See https://pkg.go.dev/cmd/compile for more information.