adambratschikaye opened PR #9571 from adambratschikaye:abk/use-opened-file
to bytecodealliance:main
:
Add an API to deserialize a
Module
from an already opened file. This can be useful in situations wherewasmtime
is running in a sandboxed environment with limited access to the file system. Then another process can handle opening the files and passing them towasmtime
.
adambratschikaye updated PR #9571.
adambratschikaye updated PR #9571.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
It is not clear to me if this argument needs to match the actual location of the file you pass in or not. Or what happens when it doesn't match.
adambratschikaye submitted PR review.
adambratschikaye created PR review comment:
Yeah I'm still cleaning things up a bit. It's there so that we can still use it when calling from
from_trusted_file
, but I think we can remove it from the public version of this one.
adambratschikaye updated PR #9571.
Last updated: Dec 23 2024 at 12:05 UTC