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.
This commit is contained in:
Noah Kennedy
2021-11-07 10:23:12 -06:00
committed by GitHub
parent ebc61e5af1
commit ba5c5c93af
2 changed files with 66 additions and 40 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ on:
env:
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
nightly: nightly-2021-04-13
nightly: nightly-2021-11-05
defaults:
run: