diff --git a/lxc/executors/rust b/lxc/executors/rust index 137dffa..6be216a 100755 --- a/lxc/executors/rust +++ b/lxc/executors/rust @@ -1,5 +1,5 @@ #!/bin/bash cd /tmp/$2 -rustc -o binary code.code +timeout -s KILL 10 rustc -o binary code.code timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin