wasm_component_layer
wasm_component_layer copied to clipboard
wit_parser::Type support
wit-parser::Type::Float32 and Float64 are changed to F32 and F64 in the latest wit-parser v 0.202.0 https://docs.rs/wit-parser/latest/wit_parser/enum.Type.html
So could you please also update valueType accordingly? https://github.com/DouglasDwyer/wasm_component_layer/blob/c7383c9589590b07c5433cd6c5a8a1311bf321d5/src/types.rs#L204
Or a quick workaround is to update dependency version in Cargo.toml as below
wasm_runtime_layer = { version = "0.2.0", default-features = false } wasmtime-environ = { version = "19.0.1", features = [ "component-model" ] } wit-component = { version = "0.19.0", default-features = false } wit-parser = { version = "0.13.0", default-features = false }