From e05d84b919898625f2de3caf29049592df3930ac Mon Sep 17 00:00:00 2001 From: Sunho Kim Date: Fri, 1 Jul 2022 16:05:18 +0900 Subject: [PATCH] Elaborate ccall error message. --- src/interpreter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interpreter.c b/src/interpreter.c index 60bd4a6e1ce7e..2536c5e7c715c 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -328,10 +328,10 @@ static jl_value_t *eval_value(jl_value_t *e, interpreter_state *s) return eval_methoddef(ex, s); } else if (head == jl_foreigncall_sym) { - jl_error("`ccall` requires the compiler"); + jl_error("`ccall` requires the compiler. julia codegen library might have failed to load."); } else if (head == jl_cfunction_sym) { - jl_error("`cfunction` requires the compiler"); + jl_error("`cfunction` requires the compiler. julia codegen library might have failed to load."); } jl_errorf("unsupported or misplaced expression %s", jl_symbol_name(head)); abort();