diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2024-02-06 13:01:42 +0100 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2024-02-06 13:01:43 +0100 |
commit | 96905156f39d29938fabf7cb278c4f8c52955af5 (patch) | |
tree | c23f768a86f6dec3105f8f8420f4b742e9cf3044 /Cargo.toml.orig | |
parent | 76cd97482d403c63d42bbd4e31bfba39442db1d1 (diff) | |
download | rayon-core-96905156f39d29938fabf7cb278c4f8c52955af5.tar.gz |
Upgrade rayon-core to 1.12.1emu-34-3-release
This project was upgraded with external_updater.
Usage: tools/external_updater/updater.sh update external/rust/crates/rayon-core
For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md
Test: TreeHugger
Change-Id: I4844dc36a655701157d377fbbbe8619abcce504c
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig index 920ffe5..09f8bf6 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -1,13 +1,13 @@ [package] name = "rayon-core" -version = "1.11.0" +version = "1.12.1" authors = ["Niko Matsakis <niko@alum.mit.edu>", "Josh Stone <cuviper@gmail.com>"] description = "Core APIs for Rayon" license = "MIT OR Apache-2.0" repository = "https://github.com/rayon-rs/rayon" documentation = "https://docs.rs/rayon/" -rust-version = "1.59" +rust-version = "1.63" edition = "2021" links = "rayon-core" build = "build.rs" @@ -17,10 +17,17 @@ categories = ["concurrency"] # Some dependencies may not be their latest version, in order to support older rustc. [dependencies] -num_cpus = "1.2" -crossbeam-channel = "0.5.0" crossbeam-deque = "0.8.1" crossbeam-utils = "0.8.0" +wasm_sync = { version = "0.1.0", optional = true } + +[features] + +# This feature switches to a spin-lock implementation on the browser's +# main thread to avoid the forbidden `atomics.wait`. +# +# Only useful on the `wasm32-unknown-unknown` target. +web_spin_lock = ["dep:wasm_sync"] [dev-dependencies] rand = "0.8" @@ -55,3 +62,7 @@ path = "tests/simple_panic.rs" [[test]] name = "scoped_threadpool" path = "tests/scoped_threadpool.rs" + +[[test]] +name = "use_current_thread" +path = "tests/use_current_thread.rs" |