os.hostarch
Identify the architecture for the currently executing operating system.
id = os.hostarch()
Parameters
None.
Return Value
An architecture identifier; see architecture() for a complete list of identifiers.
Availability
Premake 5.0.0 beta 3 or later.
Examples
if os.hostarch() == "x86_64" then
-- do something x64-specific
end