Skip to content

fix: check if parallelism is supported before using rayon#297

Closed
omentic wants to merge 1 commit into
bootandy:masterfrom
omentic:master
Closed

fix: check if parallelism is supported before using rayon#297
omentic wants to merge 1 commit into
bootandy:masterfrom
omentic:master

Conversation

@omentic
Copy link
Copy Markdown

@omentic omentic commented Jan 16, 2023

Closes #296.

I'm pretty new to Rust. If there's a better way to do this - especially if there's a one-liner to only apply .par_bridge() if parallelism is true - please let me know and I'll change it!

@omentic omentic closed this Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails on targets without threading support

1 participant