Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

483 B
Raw Blame
interface platform {
    /// An operating system.
    enum os {
        /// macOS.
        mac,
        /// Linux.
        linux,
        /// Windows.
        windows,
    }

    /// A platform architecture.
    enum architecture {
        /// AArch64 (e.g., Apple Silicon).
        aarch64,
        /// x86.
        x86,
        /// x86-64.
        x8664,
    }

    /// Gets the current operating system and architecture.
    current-platform: func() -> tuple<os, architecture>;
}