repl_wasm: rename Cargo feature wasmer->wasi_test

This commit is contained in:
Brian Carroll 2022-12-14 20:05:01 +00:00
parent d389601035
commit e6325fa78f
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
4 changed files with 18 additions and 19 deletions

View file

@ -6,15 +6,15 @@ mod repl;
//
#[cfg(feature = "console_error_panic_hook")]
extern crate console_error_panic_hook;
#[cfg(not(feature = "wasmer"))]
#[cfg(not(feature = "wasi_test"))]
mod externs_js;
#[cfg(not(feature = "wasmer"))]
#[cfg(not(feature = "wasi_test"))]
pub use externs_js::{entrypoint_from_js, js_create_app, js_get_result_and_memory, js_run_app};
//
// Interface with test code outside the Wasm module
//
#[cfg(feature = "wasmer")]
#[cfg(feature = "wasi_test")]
mod externs_test;
#[cfg(feature = "wasmer")]
#[cfg(feature = "wasi_test")]
pub use externs_test::{entrypoint_from_test, js_create_app, js_get_result_and_memory, js_run_app};