about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-02-29 05:25:29 -0500
committerGitHub <noreply@github.com>2024-02-29 05:25:29 -0500
commit769eb2cd619d577f4a34457213c7a3d9b917ef95 (patch)
tree9fddcb1041d2372de3e803d8402ec5a0bb4b5862 /compiler/rustc_pattern_analysis/src
parentb55347aa1140c957aae894e5071a5f99aa146796 (diff)
parent55129453c6cfed8884e58be1f7435d4e35a77f0d (diff)
downloadrust-769eb2cd619d577f4a34457213c7a3d9b917ef95.tar.gz
rust-769eb2cd619d577f4a34457213c7a3d9b917ef95.zip
Rollup merge of #121768 - ecton:condvar-unwindsafe, r=m-ou-se
Implement unwind safety for Condvar on all platforms

Closes #118009

This commit adds unwind safety consistency to Condvar. Previously, only select platforms implemented unwind safety through auto traits. Known by this committer: On Linux, `Condvar` implemented `UnwindSafe` but on Mac and Windows, it did not. This change changes the implementation from auto to explicit.

In #118009, it was suggested that the platform differences were a bug and that a simple PR could address this. In trying to determine the best information to put in the `#[stable]` attribute, it [was suggested](https://github.com/rust-lang/rust/issues/121690#issuecomment-1968298470) I copy the stability information from the previous unwind safety implementations.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions