wasm-link 0.2.1

A WebAssembly plugin runtime based around Wasmtime intended for building fully modular applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
(component
	(core module $m
		(func $get_value (export "get-primitive") (result i32)
			i32.const 42
		)
	)
	(core instance $i (instantiate $m))
	(func $f (export "get-primitive") (result u32) (canon lift (core func $i "get-primitive")))
	(instance $inst
		(export "get-primitive" (func $f))
	)
	(export "test:primitive/root" (instance $inst))
)