Closed Xuanwo closed 2 years ago
BTW, does it work (correctly)? The last time I tried to work on the musl support: https://github.com/tikv/pprof-rs/pull/32, it turns out that it cannot get a meaningful backtrace. @Xuanwo
But anyway, I think it's fine to just fix the compile error for musl, so I will merge this PR.
The last time I tried to work on the musl support: #32, it turns out that it cannot get a meaningful backtrace. @Xuanwo
It's more important for us to make the whole project compilable on musl
and make a static release to end-users who never run pprof
. So in our use case, we don't care about the backtrace on musl
, and I didn't test the behavior too :crying_cat_face:
Signed-off-by: Xuanwo github@xuanwo.io
Fix https://github.com/tikv/pprof-rs/issues/41
This PR will make
pprof-rs
compilable onx86_64-unknown-linux-musl
Only tested on
linux
platform, please correct me if something is wrong.