1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-21 18:11:06 +00:00

fail on error (#20)

ci-via-github-actions
This commit is contained in:
Casey Lee 2019-01-23 11:51:22 -08:00 committed by GitHub
parent 3734c54d8f
commit 940b4385bf
1272 changed files with 398621 additions and 3 deletions

View file

@ -0,0 +1,12 @@
// +build cgo,linux cgo,freebsd
package system
/*
#include <unistd.h>
*/
import "C"
func GetClockTicks() int {
return int(C.sysconf(C._SC_CLK_TCK))
}