diff options
| author | Ben Kimock <kimockb@gmail.com> | 2022-04-03 15:50:11 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2022-04-08 23:28:31 -0400 |
| commit | dec73f58d8f01c7f53ae6c50ff270af7228c0a01 (patch) | |
| tree | 023bc8372bbffc9de5b003538ce1373bb86e082f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 340f6491bed3525acfabbdbd1545b6aee2fca62b (diff) | |
| download | rust-dec73f58d8f01c7f53ae6c50ff270af7228c0a01.tar.gz rust-dec73f58d8f01c7f53ae6c50ff270af7228c0a01.zip | |
Remove ptr-int transmute in std::sync::mpsc
Since https://github.com/rust-lang/rust/pull/95340 landed, Miri with -Zmiri-check-number-validity produces an error on the test suites of some crates which implement concurrency tools, because it seems like such crates tend to use std::sync::mpsc in their tests. This fixes the problem by storing pointer bytes in a pointer.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
