{"library":"meson","code":"mkdir myproject\ncd myproject\necho '#include <stdio.h>\\nint main() { printf(\"Hello from Meson!\\n\"); return 0; }' > main.c\necho \"project('hello_meson', 'c')\\nexecutable('hello', 'main.c', install: true)\" > meson.build\n\nmeson setup builddir\nmeson compile -C builddir\n./builddir/hello\nmeson install -C builddir","lang":"bash","description":"This quickstart demonstrates how to create a simple C 'Hello World' project with Meson. It involves defining the project and an executable in `meson.build`, configuring the build directory, compiling the project, running the executable, and finally installing it. Meson enforces out-of-source builds, meaning all build artifacts are placed in a separate build directory (e.g., `builddir`).","tag":null,"tag_description":null,"last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":1},{"runtime":"python:3.10-slim","exit_code":1},{"runtime":"python:3.11-alpine","exit_code":1},{"runtime":"python:3.11-slim","exit_code":1},{"runtime":"python:3.12-alpine","exit_code":1},{"runtime":"python:3.12-slim","exit_code":1},{"runtime":"python:3.13-alpine","exit_code":1},{"runtime":"python:3.13-slim","exit_code":1},{"runtime":"python:3.9-alpine","exit_code":1},{"runtime":"python:3.9-slim","exit_code":1}]}