mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
repl_wasm: rename Cargo feature wasmer->wasi_test
This commit is contained in:
parent
d389601035
commit
e6325fa78f
4 changed files with 18 additions and 19 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue