tracking-allocator
tracking-allocator copied to clipboard
Uses eprintln! instead of println in examples folder in order to avoid deadlocks
If the first println! is called in tracking section before any other allocation, it will cause a deadlock. see this issue.
eprintln! doesn't seem to be line buffered and won't cause deadlocks.