College of Wooster 09/12/23 Practice

Zig

Compiler settings

We use zig 0.13.0 to compile your program with the following command:

$ zig build-exe -O ReleaseFast -femit-bin={executable} {mainfile}

  • {mainfile} is the entrypoint file (you can specify which file this is when submitting).
  • {executable} is the compiled executable.

File Extensions

Files with any of the following file extensions will be used: .zig

Additional information

Additional language-specific advice and information for many languages is available in the knowledge base