diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-09 01:35:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-09 01:35:17 +0200 |
| commit | 222b88501daa363517a17ad0cacc31b8cb8a7664 (patch) | |
| tree | a809bc253965e080351c67089bff1e426334a2ae /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | b2ca5131ede52c3207ab757c5bee43b519b4ce1a (diff) | |
| parent | 5acd272f5f7d892b73cfbe90bdf266af10ea30ce (diff) | |
| download | rust-222b88501daa363517a17ad0cacc31b8cb8a7664.tar.gz rust-222b88501daa363517a17ad0cacc31b8cb8a7664.zip | |
Rollup merge of #76389 - MaulingMonkey:pr-natvis-hashmap-vsc, r=petrochenkov
Fix HashMap visualizers in Visual Studio (Code) CDB (as used in unit tests) doesn't care that we're using static_cast between unrelated types (`u8*` to `tuple<$T1, $T2>*`). Visual Studio & Visual Studio Code care. These should've been reinterpret_cast or C casts. Credit to @petrochenkov per https://github.com/rust-lang/rust/issues/76352 for helping catch this. ### Testing ```cmd x.py test --stage 1 src/tools/tidy x.py test --stage 1 --build x86_64-pc-windows-msvc src\test\debuginfo ```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
