mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
stop linking wasi; it is unused
This commit is contained in:
parent
03fec5f21c
commit
4c66db7cbe
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,6 @@ fn read_i32(memory: &[u8], ptr: usize) -> i32 {
|
|||
}
|
||||
|
||||
fn link_module(module: &mut Module, panic_msg: Rc<Mutex<Option<(i32, i32)>>>) {
|
||||
module.link_wasi().unwrap();
|
||||
let try_link_panic = module.link_closure(
|
||||
"env",
|
||||
"send_panic_msg_to_rust",
|
||||
|
@ -317,6 +316,7 @@ fn link_module(module: &mut Module, panic_msg: Rc<Mutex<Option<(i32, i32)>>>) {
|
|||
Ok(())
|
||||
},
|
||||
);
|
||||
|
||||
match try_link_panic {
|
||||
Ok(()) => {}
|
||||
Err(wasm3::error::Error::FunctionNotFound) => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue