[ Web Proxy ]
URL:
Viewing: https://bytecodealliance.github.io/wit-bindgen/ [Back]  [Original]

Input *.wit

interface host-funcs { current-user: func() -> string } world demo { import host: host-funcs default export interface { record person { name: string, age: u32, } // Say hello to either the specified person or the current user hello: func(who: option<person>) -> string } }

Generated bindings

Language: Rust JavaScript Java C Markdown · File:
· Compat · Custom Instantiation
· Unchecked

Web Proxy Viewer  |  New URL  |  Original Page