Arshia001
Arshia001
This happens because wasmer's implementation does not error out when the length argument to `posix_fallocate` is zero.
Oh, that changes a lot. `posix_fallocate` definitely shouldn't truncate files.
Hello @zhezzz, and thank you for the very detailed explanation! > the root cause seems when spawn a new thread in wasm, wasmer will create a new instance with new...
@Redfire75369 I'm not sure if the failing lint is caused by the changes in this PR: ``` error: enum `BufferSource` has a public `len` method, but no `is_empty` method ```
@luxinyi0105 the only reasonable explanation for this behavior is that the path to the web assembly module is being passed as an argument to the module code; and wasmer is...
> I don't see any mozjs in there. the mozjs-sys dependency exists to compile SpiderMonkey/mozjs for use in WinterJS. That is very much a SpiderMonkey compilation issue.
LGTM overall. Looks like it should be easy to update this PR with the new async API once that hits, too.
Good to merge from my side as soon as a few more TODOs are added in the code. The existing functionality should work correctly, with a few minor performance caveats.
Hey @zhezzz, thanks for reporting this! In the logs, I see the print statements ran successfully, so I guess this is a problem with `tokio`'s shutdown procedure? Also, in the...
And can you please run with `--log-events=all` and post the logs again? That'll make it so that each syscall also gets a log when it's entered, so we can know...