wasm_component_layer icon indicating copy to clipboard operation
wasm_component_layer copied to clipboard

wit_parser::Type support

Open zhen9910 opened this issue 10 months ago • 0 comments

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 }

zhen9910 avatar Apr 03 '24 23:04 zhen9910