From d47fe389788a3ba35defe8e2d947710541b193ba Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sun, 23 Oct 2022 12:00:49 +0000 Subject: [PATCH] Remove rayon dependency of cranelift-isle Using rayon adds a lot of dependencies to Cranelift. The total unparallelized time the code that uses rayon takes is less than half a second and it runs at compile time, so there is pretty much no benefit to parallelizing it. --- Cargo.lock | 1 - cranelift/isle/isle/Cargo.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5aab66c852cf..6ac9187cd53f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -647,7 +647,6 @@ version = "0.90.0" dependencies = [ "log", "miette", - "rayon", "tempfile", ] diff --git a/cranelift/isle/isle/Cargo.toml b/cranelift/isle/isle/Cargo.toml index 4e31567d871e..9689717a5bfd 100644 --- a/cranelift/isle/isle/Cargo.toml +++ b/cranelift/isle/isle/Cargo.toml @@ -11,7 +11,6 @@ version = "0.90.0" [dependencies] log = { workspace = true, optional = true } miette = { version = "5.1.0", optional = true } -rayon = "^1.5" [dev-dependencies] tempfile = "3"