diff --git a/src/lib.rs b/src/lib.rs index a51fba0..2067a76 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,6 +53,7 @@ extern "C" { } #[cfg(not(feature = "no-bundler"))] +#[allow(unused_must_use)] fn _ensure_worker_emitted() { // Just ensure that the worker is emitted into the output folder, but don't actually use the URL. wasm_bindgen::link_to!(module = "/src/workerHelpers.worker.js");