-
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.
Remove virtual memory support (#408)
* remove support for virtual memory in wasmi_core and wasmi * remove virtual memory support for GitHub Actions CI * rename buffer_vec.rs -> byte_buffer.rs * use windows-latest in CI instead of windows-2019 We were required to use windows-2019 because of the virtual memory feature which is removed now.
- Loading branch information
Showing
8 changed files
with
6 additions
and
251 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,21 +49,9 @@ jobs: | |
matrix: | ||
# windows-latest was pinned to windows-2019 | ||
# because of https://github.com/paritytech/wasmi/runs/5021520759 | ||
os: [ubuntu-latest, windows-2019, macos-latest] | ||
include: | ||
# Include a new variable `rustc-args` with `-- --test-threads 1` | ||
# for windows-2019 to be used with virtual_memory crate feature | ||
# enabled while testing. | ||
- os: windows-2019 | ||
test-args: "--test-threads 1" | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Configure Pagefile for Windows | ||
if: matrix.os == 'windows-2019' | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 6GB | ||
maximum-size: 32GB | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -83,10 +71,9 @@ jobs: | |
uses: actions-rs/cargo@v1 | ||
env: | ||
RUSTFLAGS: '--cfg debug_assertions' | ||
TEST_FLAGS: ${{ matrix.test-args }} | ||
with: | ||
command: test | ||
args: --workspace --release --all-features -- $TEST_FLAGS | ||
args: --workspace --release --all-features | ||
|
||
fmt: | ||
name: Formatting | ||
|
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
wasmi_v1/src/memory/buffer_vec.rs → wasmi_v1/src/memory/byte_buffer.rs
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