roc/test/int
2025-12-17 22:41:23 +11:00
..
platform try fix return pointer alignment mismatch 2025-12-17 22:41:23 +11:00
app.roc fix infinite recursion bug (again) 2025-12-15 15:18:49 +11:00
README.md Roc platform host shim (#8214) 2025-09-09 13:15:23 +02:00

Test Platform

This directory contains a primitive test platform for Roc and demonstrates how to pass multiple arguments from the host.

  • Function signature: I64, I64 -> I64
  • Description: Takes two random integers from the host and returns their product
zig build

# Run (ignore cached files)
./zig-out/bin/roc --no-cache test/int/app.roc