roc/test/int
2025-09-06 21:02:34 -05:00
..
platform Change std.io.getStdOut() to std.fs.File.stdout() and use deprecatedWriter instead of writer 2025-09-06 21:02:34 -05:00
app.roc move test platforms around for clarity 2025-08-07 09:11:57 +10:00
README.md move test platforms around for clarity 2025-08-07 09:11:57 +10: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 -Dllvm

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