piston/lxc/executors/zig
Brian Seymour c452d37b42 add zig
2021-01-23 15:15:00 -06:00

6 lines
140 B
Bash

#!/bin/bash
cd /tmp/$2
cp code.code main.zig
timeout -s KILL 10 zig build-exe main.zig
timeout -s KILL 3 xargs -a args.args -d '\n' ./main