aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Noah Kennedy <Nomaxx117@gmail.com> 2021-11-07 10:23:12 -0600
committerGravatar GitHub <noreply@github.com> 2021-11-07 10:23:12 -0600
commitba5c5c93affe9386dd052c5236cad83057f9a81d (patch)
tree70cc87177d4cf7fd404e68a98a2b17fcd2eb925e /src
parentebc61e5af14cd9b436ba880cf19e849b05a04c29 (diff)
downloadbytes-ba5c5c93affe9386dd052c5236cad83057f9a81d.tar.gz
bytes-ba5c5c93affe9386dd052c5236cad83057f9a81d.tar.zst
bytes-ba5c5c93affe9386dd052c5236cad83057f9a81d.zip
Appease miri (#515)
Rewrote the ledger in test_bytes_vec_alloc.rs to not piss off miri. The ledger is now a table within the allocator, which seems to satisfy miri. The old solution was to bundle an extra usize into the beginning of each allocation and then index past the start when deallocating data to get the size.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions