From 2d1678e0917137d9a152834dd6d157f84aa4adc0 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Tue, 28 Jul 2020 22:40:10 -0400 Subject: [PATCH] feat: Encore minimum cores at compiletime --- runtime/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/main.c b/runtime/src/main.c index 4cb2b19..7743ffd 100644 --- a/runtime/src/main.c +++ b/runtime/src/main.c @@ -192,7 +192,7 @@ main(int argc, char **argv) #endif #if NCORES == 1 - panic("Runtime requires at least two cores!"); +#error "RUNTIME MINIMUM REQUIREMENT IS 2 CORES" #endif debuglog("Initializing the runtime\n");