Skip to content

Commit

Permalink
Suppress warning during build
Browse files Browse the repository at this point in the history
  • Loading branch information
9SMTM6 committed Oct 3, 2024
1 parent fe9507d commit ea9210b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit ea9210b

Please sign in to comment.