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
import wit.my.inline.runner;

import wit.common;

@witExport("$root", "run")
void run() {
    wit.my.inline.foo1.imports.foo();
    wit.my.inline.foo2.imports.foo();
    wit.my.inline.bar1.imports.bar();
    wit.my.inline.bar2.imports.bar();
}

alias Exports = wit.my.inline.runner.Exports!(
    run
);