Skip to content

Commit

Permalink
actually call near-vm when using VMKind::NearVm (#8886)
Browse files Browse the repository at this point in the history
* actually call near-vm when using VMKind::NearVm

* handle review comments

* cargo fmt
  • Loading branch information
Ekleog-NEAR authored Apr 6, 2023
1 parent 3cbde0b commit 04462d9
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 103 deletions.
4 changes: 1 addition & 3 deletions runtime/near-vm-runner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ mod imports;
mod instrument;
#[cfg(all(feature = "wasmer0_vm", target_arch = "x86_64"))]
mod memory;
// TODO: this will need to be turned into an actual near_vm feature as soon as it’s implemented
#[cfg(all(feature = "wasmer2_vm", target_arch = "x86_64"))]
#[allow(dead_code)]
#[cfg(all(feature = "near_vm", target_arch = "x86_64"))]
mod near_vm_runner;
pub mod prepare;
mod runner;
Expand Down
Loading

0 comments on commit 04462d9

Please sign in to comment.