CI / test (push) Successful in 38s
moon adds -DMOONBIT_NATIVE_NO_SYS_HEADER whenever the C compiler is tcc, which compiles the system runtime out and breaks linking a standalone exe; the scripts/tcc/tcc wrapper drops that flag. just tcc-build builds third_party/tinycc into _build/tcc; build-release keeps the optimised system-cc build. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 lines
105 B
C
Executable File
9 lines
105 B
C
Executable File
#!/usr/local/bin/tcc -run
|
|
#include <tcclib.h>
|
|
|
|
int main()
|
|
{
|
|
printf("Hello World\n");
|
|
return 0;
|
|
}
|