alloc-track icon indicating copy to clipboard operation
alloc-track copied to clipboard

MacOS support

Open lucasmerlin opened this issue 2 years ago • 1 comments

Hi! This crate looks cool, but unfortunately it seems to depend on procfs which doesn't seem to support MacOS. If MacOS support is out of scope, I think a note should be added that this crate doesn't work on MacOS.

lucasmerlin avatar Jul 11 '23 13:07 lucasmerlin

This crate works on MacOS, but procfs is in the default features list and gets picked up due to MacOS being a unix. I think the dependencies could be tweaked, but in the meantime you can add this crate on MacOS with

cargo add alloc-track --no-default-features -F backtrace,libc

mnutt avatar Dec 28 '23 22:12 mnutt