You're comparing C+StdLib vs. Rust without StdLib. Disable stdlib for C version and use the following program:
#include <windows.h>
int _start() {
const char str[] = "Hello world!\n";
HANDLE stdout = GetStdHandle(STD_OUTPUT_HANDLE);
DWORD written;
WriteFile(stdout, str, sizeof(str), &written, NULL);
ExitProcess(12);
return 0;
}https://stackoverflow.com/a/42536990
Which is similar to what the Rust program does. The result should be significantly less than 1k