Skip to content

Commit

Permalink
Upgrade to Rayon with spin lock
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Jan 17, 2024
1 parent 7f4ccd0 commit 83704b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
11 changes: 6 additions & 5 deletions Cargo.lock

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

8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ repository = "https://github.com/RReverser/wasm-bindgen-rayon"

[workspace.dependencies]
wasm-bindgen = "0.2.84"
rayon = "1.8"
rayon = "1.8.1"

[dependencies]
wasm-bindgen = { workspace = true }
rayon-core = "1.12"
rayon-core = { version = "1.12.1", features = ["web_spin_lock"] }
crossbeam-channel = "0.5.9"
js-sys = "0.3.48"

Expand All @@ -32,7 +32,3 @@ no-bundler = []
features = ["nightly"]
targets = ["wasm32-unknown-unknown"]
rustc-args = ["-C", "target-feature=+atomics,+bulk-memory"]

[patch.crates-io]
rayon = { git = "https://github.com/RReverser/rayon", branch = "wasm-sync" }
rayon-core = { git = "https://github.com/RReverser/rayon", branch = "wasm-sync" }

0 comments on commit 83704b6

Please sign in to comment.