针对自定义 LinearMemory 实现的回归: 进入无法到达的代码: memory_image 是 Some 仅适用于基于 mmap 的内存
作者: V0ldek创建于 2025年5月7日更新于 2026年9月28日
Hello, I've been using `wasmtime` with a custom memory implementation that is backed by my custom managed virtual mmap. I don't think the implementation details of my custom struct matter. I've been on wasmtime 25.0 and everything worked fine. After an update to wasmtime 32.0, I had to rewrite the `wasmtime::LinearMemory` impl, but it just got simplified. However, running my code now gets me this panic:
内容来源: bytecodealliance/wasmtime