wasi

package
v0.20.21 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package wasi exports essentials from the wasm client-side for working with wasm from the host. It exports a "malloc" func to let hosts allocate memory within the wasm module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Free

func Free(buffer wasm.Buffer)

Free releases the reference to the malloc-ed memory. Since Go does not offer manual memory management Free does not actively release memory but allows drops the global reference to the memory so that GC can reclaim it if necessary.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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