-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement the Wasm
custom-page-sizes
proposal (#1349)
* add wasm_custom_page_sizes API to Config * update docs for custom_page_sizes setter * wip: implement custom-page-sizes This currently fails some Wasm spec tests. Also we want to enable Wasm custom-page-sizes spec tests. * fix clippy doc warnings * no longer use iter::repeat_n This API has been stabilized in Rust 1.82 while our MSRV is not yet there. * fix bug in MemoryEntity::grow * fix value of absolute_max * change error message to be less confusing * fix MemoryEntity::new_impl * add custom-page-sizes Wasm spec tests * fix From wasmparser impl for MemoryType Now properly uses the input page_size_log2 parameter and uses the new MemoryTypeBuilder. * fix linking of memories with different page sizes * rename MemoryType::initial_pages -> minimum * rename MemoryType::maximum_pages -> maximum * add MemoryTypeBuilder::new method Improves Wasmtime API mirroring.
- Loading branch information
Showing
9 changed files
with
437 additions
and
186 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
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
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
Oops, something went wrong.