mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
Add support for C11 and C++17 in gcc and g++
This commit is contained in:
parent
2dfa66bc59
commit
41f4b31830
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
cd /tmp/$2
|
||||
timeout -s KILL 10 gcc -o binary -x c code.code
|
||||
timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code
|
||||
runuser -l runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue