Closed dunnock closed 4 years ago
Move following function inside the wasi-worker lib, so that is not required in the worker's boilerplate:
#[no_mangle] pub extern "C" fn message_ready() -> usize { ServiceWorker::on_message() .expect("ServiceWorker.on_message") }
This was fixed as part of https://github.com/dunnock/wasi-worker/commit/35f4d73d5bce1339d9c8c402b3ae9f27b69ff0a8
Move following function inside the wasi-worker lib, so that is not required in the worker's boilerplate: