mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
jemalloc used the nonstandard `std::__throw_bad_alloc`, which is no longer visible in GCC 16. this upstream patch makes it conditional on exceptions and defers to either `throw std::bad_alloc()` or `std::terminate` as appropriate, and fixes the build.