From 97e7d776d3904103827ac0f7bf07926c62cfe1a5 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Mon, 15 Jan 2024 18:51:06 +0000 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Josh Stone --- Cargo.toml | 2 +- rayon-core/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1806525e3..c2ee04bd1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ default-features = false # main thread to avoid the forbidden `atomics.wait`. # # Only useful on the `wasm32-unknown-unknown` target. -web_spin_lock = ["wasm_sync", "rayon-core/web_spin_lock"] +web_spin_lock = ["dep:wasm_sync", "rayon-core/web_spin_lock"] [dev-dependencies] rand = "0.8" diff --git a/rayon-core/Cargo.toml b/rayon-core/Cargo.toml index 41bdc960c..b3de9270f 100644 --- a/rayon-core/Cargo.toml +++ b/rayon-core/Cargo.toml @@ -27,7 +27,7 @@ wasm_sync = { version = "0.1.0", optional = true } # main thread to avoid the forbidden `atomics.wait`. # # Only useful on the `wasm32-unknown-unknown` target. -web_spin_lock = ["wasm_sync"] +web_spin_lock = ["dep:wasm_sync"] [dev-dependencies] rand = "0.8"