Sha256: fb3f07343d07dde24ecfdefba80c01b946d16db0a4be0a860ae74acdf606bc3a

Contents?: true

Size: 348 Bytes

Versions: 10

Compression:

Stored size: 348 Bytes

Contents

bindgen!({
    inline: r#"
        package my:project;

        interface host {
            gen-random-integer: func() -> u32;
            sha256: func(bytes: list<u8>) -> string;
        }

        world hello-world {
            import host;

            export demo: interface {
                run: func();
            }
        }
    "#,
});

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/wasmtime-29.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-28.0.0 ./ext/cargo-vendor/wasmtime-28.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-27.0.0 ./ext/cargo-vendor/wasmtime-27.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-26.0.0 ./ext/cargo-vendor/wasmtime-26.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-25.0.2 ./ext/cargo-vendor/wasmtime-25.0.2/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-25.0.1 ./ext/cargo-vendor/wasmtime-25.0.1/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-25.0.0 ./ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-24.0.0 ./ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-23.0.2 ./ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/bindgen_examples/_2_world_exports.rs
wasmtime-22.0.0 ./ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs