package
0.5.0
Repository: https://github.com/vadv/gopher-lua-libs.git
Documentation: pkg.go.dev

# README

runtime GoDoc

Usage

local runtime = require("runtime")
if not(runtime.goos() == "linux") then error("not linux") end
if not(runtime.goarch() == "amd64") then error("not amd64") end

# Functions

GOARCH lua runtime.goarch() return string.
GOOS lua runtime.goos() return string.
Loader is the module loader function.
Preload adds runtime to the given Lua state's package.preload table.