Skip to content

Commit

Permalink
Upgrade wasm-bindgen
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Dec 18, 2024
1 parent 09ade9b commit 592d310
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
21 changes: 10 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude = [".github"]
repository = "https://github.com/RReverser/wasm-bindgen-rayon"

[workspace.dependencies]
wasm-bindgen = "0.2.93"
wasm-bindgen = "0.2.99"
rayon = { version = "1.8.1", features = ["web_spin_lock"] }

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl wbg_rayon_PoolBuilder {
pub fn main_js(&self) -> JsString {
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(thread_local, js_namespace = ["import", "meta"], js_name = url)]
#[wasm_bindgen(thread_local_v2, js_namespace = ["import", "meta"], js_name = url)]
static URL: JsString;
}

Expand Down

0 comments on commit 592d310

Please sign in to comment.