Skip to content

Commit f148283

Browse files
committed
remove nonnull export and remove unused comment
1 parent 8ed72bf commit f148283

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/vm/src/compile.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ fn inject_memory(module: Module) -> Result<Module, Error> {
107107
}
108108

109109
fn inject_stack_height(module: Module) -> Result<Module, Error> {
110-
// pwasm_utils::stack_height::inject_limiter(module, MAX_STACK_HEIGHT)
111-
// .map_err(|_| Error::StackHeightInjectionError)
112110
wasm_instrument::inject_stack_limiter(module, MAX_STACK_HEIGHT)
113111
.map_err(|_| Error::StackHeightInjectionError)
114112
}

packages/vm/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ pub mod vm;
1010
pub use calls::run;
1111
pub use compile::compile;
1212
pub use error::Error;
13-
pub use std::ptr::NonNull;

0 commit comments

Comments
 (0)