From 20e09e3f73ef82176a7e275974f26e370e103ac9 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 20 Jul 2026 13:14:23 -0600 Subject: [PATCH] add `wit/runtime/empty.s` Now that `runtime.go` uses a `go:wasmimport`-annotated function, we need this file here as well to make unit tests work. --- wit/runtime/empty.s | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 wit/runtime/empty.s diff --git a/wit/runtime/empty.s b/wit/runtime/empty.s new file mode 100644 index 0000000..5444f20 --- /dev/null +++ b/wit/runtime/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.