bytecodealliance / bytecodealliance/wasmtime
cranelift-serde "Error("key must be a string", line: 0, column: 0)"
Open
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 126
Description
When I used cranelift-serde to convert Cranelift IR to JSON, the following error occurred:
```
thread 'main' panicked at C:\Users\Admin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cranelift-serde-0.110.2\src/clif-json.rs:18:54:
called `Result::unwrap()` on an `Err` value: Error("key must be a string", line: 0, column: 0)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
[wasm_func_10_clif.zip](https://github.com/user-attachments/files/16597310/wasm_func_10_clif.zip)
Contributor guide
Assessment
This issue has not been assessed yet.