Documentation

Init.System.Platform

@[extern lean_system_platform_windows]

Checks whether the current platform is Windows.

@[extern lean_system_platform_osx]

Checks whether the current platform is macOS.

@[extern lean_system_platform_emscripten]

Checks whether the current platform is Emscripten.

Is the current platform Windows?

Equations
    Instances For

      Is the current platform macOS?

      Equations
        Instances For

          Is the current platform Emscripten?

          Equations
            Instances For
              @[extern lean_system_platform_target]

              Gets the LLVM target triple of the current platform, or "" if this was missing when Lean was compiled.

              The LLVM target triple of the current platform. Empty if missing when Lean was compiled.

              Equations
                Instances For