Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into pr/AlexErrant/4
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Dec 22, 2024
2 parents 8474d7e + 79c5850 commit 31d0468
Show file tree
Hide file tree
Showing 15 changed files with 2,197 additions and 1,579 deletions.
23 changes: 11 additions & 12 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-rayon"
version = "1.2.2"
version = "1.3.0"
authors = ["Ingvar Stepanyan <me@rreverser.com>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ In order to reduce risk of breakages, it's strongly recommended to use a fixed n
The easiest way to configure those flags is:

1. Put the following in a `rust-toolchain.toml` file in your project directory:

```toml
[toolchain]
channel = "nightly-2024-08-02"
Expand All @@ -126,7 +127,7 @@ The easiest way to configure those flags is:

```toml
[target.wasm32-unknown-unknown]
rustflags = ["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals"]
rustflags = ["-C", "target-feature=+atomics,+bulk-memory"]

[unstable]
build-std = ["panic_abort", "std"]
Expand All @@ -147,7 +148,7 @@ If you prefer not to configure those parameters by default, you can pass them as
In that case, the whole command looks like this:

```sh
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory,+mutable-globals' \
RUSTFLAGS='-C target-feature=+atomics,+bulk-memory' \
rustup run nightly-2024-08-02 \
wasm-pack build --target web [...] \
-- -Z build-std=panic_abort,std
Expand Down
File renamed without changes.
Loading

0 comments on commit 31d0468

Please sign in to comment.