callee-no-bodyThe callee has no body to inline
Reported by --explain after a verdict.
mettle explain callee-no-body
The function is declared but not defined in this program: an extern, or a runtime entry point. There is nothing to copy into the caller.
This is not a problem. A call to a C function or an OS API is a call.
Related
- callee-noinlineThe callee is marked @noinline
- callee-denylistedThe callee is on the compiler's inline denylist
- too-many-parametersThe callee takes more than 16 parameters
- callee-parameter-namesThe callee's parameter names are unavailable
- callee-over-budgetThe callee's body is over the inline size budget
- callee-call-countThe callee makes more calls than the inline call-count budget allows
- callee-inline-asmThe callee contains inline assembly
- callee-has-loopThe callee's loop body is over the inline size budget