feat(runner): add the own code runner contract, client and nsjail service
This commit is contained in:
1 parent
5e1db37746
commit
cdf6bcbb91
109 files changed
+24084
-28
No files matched your search
@@ -0,0 +1,21 @@
|
||||
//go:build !linux
|
||||
|
||||
package sandbox
|
||||
|
||||
import (
|
||||
"os"
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
// signalKill is the Linux SIGKILL number reported by stopped runs.
|
||||
const signalKill = 9
|
||||
|
||||
func platformSupported() error {
|
||||
return ErrUnsupportedPlatform
|
||||
}
|
||||
|
||||
func attachToCgroup(*exec.Cmd, *runCgroup) {}
|
||||
|
||||
func peakMemoryKB(*os.ProcessState) int64 {
|
||||
return 0
|
||||
}
|
||||
Reference in new issue
Block a user