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
For newer runtimes, the runtime version can now be obtained from the WASM custom sections from the wasm code, and there is no longer a need to instantiate the full runtime to check its version.
Note reading the runtime version by instantiating it and calling Core_version still need to be supported for older runtimes.
So the process should be:
try to find versions from the wasm custom section
fallback to instantiating + calling Core_version on the instance
The text was updated successfully, but these errors were encountered:
danforbes
changed the title
Enhancement: read runtime version from code wasm custom sections
read runtime version from code wasm custom sections
Aug 22, 2022
For newer runtimes, the runtime version can now be obtained from the WASM custom sections from the wasm code, and there is no longer a need to instantiate the full runtime to check its version.
For context:
Note reading the runtime version by instantiating it and calling
Core_version
still need to be supported for older runtimes.So the process should be:
Core_version
on the instanceThe text was updated successfully, but these errors were encountered: