Sourcestd/system.d
OS: int;NoteThis is for cases where you need a value representing the OS at runtime. If you're doing something which should compile differently on different OSes, then please useversion (Windows),version (linux), etc.
win32win64linuxosxiOStvOSwatchOSfreeBSDnetBSDopenBSDdragonFlyBSDsolarishaikuandroidotherPosixunknownos;Endian: int;NoteThis is intended for cases where you need to deal with endianness at runtime. If you're doing something which should compile differently depending on whether you're compiling on a big endian or little endian machine, then please useversion (BigEndian) andversion (LittleEndian).
bigEndianlittleEndianendian;ISA: int;NoteThis is intended for cases where you need a value representing the instruction set architecture at runtime. If you're doing something which should compile differently depending on instruction set architecture, then please useversion (X86_64),version (ARM), etc.
x86x86_64armaarch64asmJSavrepiphanyppcppc64ia64mips32mips64msp430nvptxnvptx64riscv32riscv64sparcsparc64s390systemZhppahppa64shwebAssemblyalphaloongArch32loongArch64xtensaunknowninstructionSetArchitecture;