Staging runtime.c for future code generation