diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-24 14:29:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-24 14:29:52 +0200 |
| commit | 1b1596c118294a62be0665b1bfb4df0fcc1026b0 (patch) | |
| tree | f4f6e3eb64b53cabcbb5e41c5c20c35e68fb0292 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | bb5a01617589b5e3ece5a36435fc285bfd13c9a4 (diff) | |
| parent | 98a32305afabb8e31d898e2a74da63268e0a7f5f (diff) | |
| download | rust-1b1596c118294a62be0665b1bfb4df0fcc1026b0.tar.gz rust-1b1596c118294a62be0665b1bfb4df0fcc1026b0.zip | |
Rollup merge of #100823 - WaffleLapkin:less_offsets, r=scottmcm
Refactor some `std` code that works with pointer offstes This PR replaces `pointer::offset` in standard library with `pointer::add` and `pointer::sub`, [re]moving some casts and using `.addr()` while we are at it. This is a more complicated refactor than all other sibling PRs, so take a closer look when reviewing, please 😃 (though I've checked this multiple times and it looks fine). r? ````@scottmcm```` _split off from #100746, continuation of #100822_
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
