mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
moved all crates into seperate folder + related path fixes
This commit is contained in:
parent
12ef03bb86
commit
eee85fa45d
1063 changed files with 92 additions and 93 deletions
19
crates/repl_wasm/src/lib.rs
Normal file
19
crates/repl_wasm/src/lib.rs
Normal file
|
@ -0,0 +1,19 @@
|
|||
mod repl;
|
||||
|
||||
//
|
||||
// Interface with external JS in the browser
|
||||
//
|
||||
#[cfg(feature = "console_error_panic_hook")]
|
||||
extern crate console_error_panic_hook;
|
||||
#[cfg(not(feature = "wasmer"))]
|
||||
mod externs_js;
|
||||
#[cfg(not(feature = "wasmer"))]
|
||||
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")]
|
||||
mod externs_test;
|
||||
#[cfg(feature = "wasmer")]
|
||||
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