briansmith / ring

Safe, fast, small crypto using Rust
Other
3.64k stars 682 forks source link

cpu: Make `cpu::Features` be `!Send`. #2101

Closed briansmith closed 2 weeks ago

briansmith commented 2 weeks ago

We don't intend to put cpu::Features in any type that could be sent across threads. Enforce this in the type system. This way, we can potentially change the representation of cpu::Features to one that really couldn't be Send in the future.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.25%. Comparing base (e3593b4) to head (d070e13).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2101 +/- ## ======================================= Coverage 97.24% 97.25% ======================================= Files 143 143 Lines 20144 20144 Branches 228 228 ======================================= + Hits 19589 19591 +2 Misses 527 527 + Partials 28 26 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.