10.6.Β System and Platform InformationπŸ”—

πŸ”—def
System.Platform.numBits : Nat

Gets the word size of the platform. That is, whether the platform is 64 or 32 bits.

πŸ”—def
System.Platform.target : String

The LLVM target triple of the current platform. Empty if missing at Lean compile time.

πŸ”—def
System.Platform.isWindows : Bool
πŸ”—def
System.Platform.isOSX : Bool
πŸ”—def
System.Platform.isEmscripten : Bool