summaryrefslogtreecommitdiffstats
path: root/third_party/rust/lucet-wasi-wasmsbx/src/bindings.rs
blob: 0d454a1f043c399426015c3dc93ec3c14d4f5bca (plain)
1
2
3
4
5
6
7
8
9
10
11
use lucet_module::bindings::Bindings;

pub fn bindings() -> Bindings {
    Bindings::from_str(include_str!("../bindings.json")).expect("lucet-wasi bindings.json is valid")
}

#[cfg(test)]
#[test]
fn test_bindings_parses() {
    let _ = bindings();
}