Skip to content

Commit

Permalink
Remove rayon dependency of cranelift-isle
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bjorn3 committed Oct 23, 2022
1 parent 5a4adde commit d47fe38
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

1 change: 0 additions & 1 deletion cranelift/isle/isle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d47fe38

Please sign in to comment.