dtolnay / dtolnay/anyhow

This library almost disables multithreading while used with `RUST_BACKTRACE=1`

Open
#380 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
6.7k
Forks
224
PR merge metrics
No merged PRs in 30d

Description

Hello!

I ran into a situation where computation-heavy code where errors occur often (just as a part of logic) has supressed multithread behavior by using roughly 1 CPU core instead of 48 available in the case `RUST_BACKTRACE=1`.

Of course, this code smells and heavy computations should not use such dynamic library, but I believe this behavior should be at least documented.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.