diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-05-27 03:09:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-27 03:09:12 +0200 |
| commit | 8f95dc8d4e31f24185db831fc92b7d5752ba9d7f (patch) | |
| tree | 42e22ed62592689285875a36216a666f335751d1 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | cbe7b908b124047aaff5f1bed1056a71ca0a6b3b (diff) | |
| parent | ee6e705d91a7b19aa2d029b21396c70e2129f741 (diff) | |
| download | rust-8f95dc8d4e31f24185db831fc92b7d5752ba9d7f.tar.gz rust-8f95dc8d4e31f24185db831fc92b7d5752ba9d7f.zip | |
Rollup merge of #72533 - Diggsey:db-fix-arc-ub2, r=dtolnay
Resolve UB in Arc/Weak interaction (2) Use raw pointers to avoid making any assertions about the data field. Follow up from #72479, see that PR for more detail on the motivation. @RalfJung I was able to avoid a lot of the changes to `Weak`, by making a helper type (`WeakInner`) - because of auto-deref and because the fields have the same name, the rest of the code continues to compile.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
