diff options
author | 2021-11-07 10:23:12 -0600 | |
---|---|---|
committer | 2021-11-07 10:23:12 -0600 | |
commit | ba5c5c93affe9386dd052c5236cad83057f9a81d (patch) | |
tree | 70cc87177d4cf7fd404e68a98a2b17fcd2eb925e /src/bytes.rs | |
parent | ebc61e5af14cd9b436ba880cf19e849b05a04c29 (diff) | |
download | bytes-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/bytes.rs')
0 files changed, 0 insertions, 0 deletions