Open
Description
openedon Nov 14, 2020
Miri already tracks allocations and deallocations. It would be convenient if, from a test, I could make assertions about those allocations.
For example, I might want to assert that a particular block of code performs no allocations. Or that it performs one allocation of a specific size and alignment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment