]> git.proxmox.com Git - rustc.git/blobdiff - vendor/rayon/README.md
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / rayon / README.md
index 4c4dff6ea0063491fe26d8d0b4827131e28d9a62..b8156db7c16dfe30052842c2dbe8b023086489c5 100644 (file)
@@ -86,6 +86,15 @@ use rayon::prelude::*;
 
 Rayon currently requires `rustc 1.36.0` or greater.
 
+### Usage with WebAssembly
+
+Rayon can work on the Web via WebAssembly, but requires an adapter
+and some project configuration to account for differences between
+WebAssembly threads and threads on the other platforms.
+
+Check out [wasm-bindgen-rayon](https://github.com/GoogleChromeLabs/wasm-bindgen-rayon)
+docs for more details.
+
 ## Contribution
 
 Rayon is an open source project! If you'd like to contribute to Rayon, check out [the list of "help wanted" issues](https://github.com/rayon-rs/rayon/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). These are all (or should be) issues that are suitable for getting started, and they generally include a detailed set of instructions for what to do. Please ask questions if anything is unclear! Also, check out the [Guide to Development](https://github.com/rayon-rs/rayon/wiki/Guide-to-Development) page on the wiki. Note that all code submitted in PRs to Rayon is assumed to [be licensed under Rayon's dual MIT/Apache2 licensing](https://github.com/rayon-rs/rayon/blob/master/README.md#license).