witx-bindgen 0.1.0

Utility to turn witx files into Rust source code bindings
Documentation
1
2
3
4
5
6
7
use std::env;
use std::path::PathBuf;

fn main() {
    let witx_path: PathBuf = env::args_os().nth(1).unwrap().into();
    print!("{}", witx_bindgen::generate(&[witx_path]));
}