wasmtest

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package wasmtest 给测试编译插件:用 Go SDK 现场编一个 wasip1 模块。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Guest

func Guest(t testing.TB) []byte

Guest 返回测试插件(testdata/guest)编译出的 plugin.wasm,同一进程里只编一次。

-short 时跳过:编译 wasm 要十几秒,本地快速跑单元测试时不该每次都等。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL