From 44507bc91ff9a23ad8ad4120cfc6b0d9bd27e2ca Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Wed, 17 Jul 2024 16:39:15 +0100 Subject: [PATCH] another reversal of something that breaks on wasm --- src/sysinfo.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sysinfo.cc b/src/sysinfo.cc index 421a0bde..46386411 100644 --- a/src/sysinfo.cc +++ b/src/sysinfo.cc @@ -558,9 +558,8 @@ int GetNumCPUsImpl() { int GetNumCPUs() { const int num_cpus = GetNumCPUsImpl(); if (num_cpus < 1) { - PrintErrorAndDie( - "Unable to extract number of CPUs. If your platform uses " - "/proc/cpuinfo, custom support may need to be added."); + std::cerr << "Unable to extract number of CPUs. If your platform uses " + "/proc/cpuinfo, custom support may need to be added.\n"; } return num_cpus; }