Protryon / alloc-track

Track memory allocations by backtrace or originating thread
40 stars 2 forks source link

MacOS support #3

Open lucasmerlin opened 1 year ago

lucasmerlin commented 1 year ago

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.

mnutt commented 8 months ago

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