You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is a bit difficult to solve. For the version detection code to run, we need to run the Wasm module, but it can't be instantiated without satisfying imports (that are obviously incompatible between versions).
I can't think of a reliable way of embedding this information into the .wasm file that can be easily accessed by the runtime. We could maybe add a custom section? This would require pre-parsing the .wasm file and looking for the custom section, before it's parsed again by the engine and instantiated.
Hopefully, this will become less of a problem as breaking changes become less common in the future. And we only break the API in major versions.
This should help to avoid problems (e.g. this one: teymour-aldridge/puck#52)
The text was updated successfully, but these errors were encountered: