-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2550: feat(vfs) Update `Metadata.len` when updating the file buffer r=Hywan a=Hywan # Description This patch updates `wasmer_vfs::mem_fs` to handle `Metadata.len` correctly. The `len` value is updated when something is written in the file buffer. `len` is also updated when the file is truncated (with open options) or when the file is update with `set_len`. It helps to fix one test in #2546. Co-authored-by: Ivan Enderlin <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters