jemallocator
jemallocator copied to clipboard
*: make CI green again
This PR fixes several compilation warnings and skip function pointer for ctests.
I hope this can be a step to merging #130.
Allocation APIs have been changing rapidly since the end of January. I suggest to merge it first to make it build and test in stable channel and then fix alloc_trait feature when rapid refactor from wg-allocators finish.
@gnzlbg The only one left is the config diff. I don't know what's the purpose of the check and have no clue what's the proper way to fix it. Any suggestions?
It checks that the version of the configure script that autoconf produces matches what's checked in here: https://github.com/gnzlbg/jemallocator/tree/master/jemalloc-sys/configure. You should just need to update that file.
But the check passes on MacOS but fail on Linux. I'm afraid updating it will just fix one and break the other.
@sfackler I followed your suggestion, and it did break MacOS build. I'm going to disable the check for now.