Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 504 Bytes

sys.md

File metadata and controls

43 lines (30 loc) · 504 Bytes

sys: System module

local sys = require "sys"
sys.os

"linux", "macos" or "windows".

sys.arch

"x86_64" or "aarch64".

sys.libc

"musl" or "gnu". Note that libc is "lua" when using the pure Lua implementation of LuaX.

sys.exe

Extension of executable files on the platform.

sys.so

Extension of shared libraries on the platform (".so", ".dylib" or ".dll").

sys.name

Name of the platform.