wit-bindgen-cli 0.61.0

CLI tool to generate bindings for WIT documents and the component model.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ args = '--features y'

import wit.foo.bar.test;
import wit.common;

@witExport("foo:bar/bindings@1.2.3", "y")
void y() {}

@witExport("foo:bar/bindings@1.2.3", "z")
void z() {}

alias Exports = wit.foo.bar.test.Exports!(
    y,
    z
);