Remove tests for experimental jemalloc ABIs (#770)

Commit 5680cf6dc6e2 ("jemalloc: don't expose 3.0 compat symbols") in
FreeBSD src removes the default symbols for allocm() and friends, so
this test no longer links.  Compatibility is stil provided for programs
linking against FBSD_1.3, but here it seems easier to simply stop
referencing them.
This commit is contained in:
Mark Johnston
2025-06-30 09:06:29 -04:00
committed by GitHub
parent 16d96b9f8c
commit 890bcf94a6

View File

@@ -302,20 +302,6 @@ namespace
}
}
extern "C"
{
/**
* The jemalloc 3.x experimental APIs are gone from the headers in newer
* versions, but are still present in FreeBSD libc, so declare them here
* for testing.
*/
int allocm(void**, size_t*, size_t, int);
int rallocm(void**, size_t*, size_t, size_t, int);
int sallocm(const void*, size_t*, int);
int dallocm(void*, int);
int nallocm(size_t*, size_t, int);
}
int main()
{
check_lg_align_macro<63>();
@@ -363,6 +349,5 @@ int main()
test_size<mallocx, dallocx, sallocx, nallocx>();
test_zeroing<mallocx, dallocx, rallocx>();
test_xallocx<mallocx, dallocx, xallocx>();
test_legacy_experimental_apis<allocm, rallocm, sallocm, dallocm, nallocm>();
#endif
}