#[non_exhaustive]pub enum Os<'a> {
Show 45 variants
Aix,
Amdhsa,
Android,
Cuda,
Cygwin,
Dragonfly,
Emscripten,
Espidf,
FreeBSD,
Fuchsia,
Haiku,
Hermit,
Horizon,
Hurd,
IllumOS,
iOS,
L4re,
Linux,
Lynxos178,
MacOS,
NetBSD,
None,
Nto,
Nuttx,
OpenBSD,
Psp,
Psx,
Redox,
Rtems,
Solaris,
SolidAsp3,
TeeOS,
Trusty,
TvOS,
Uefi,
Unknown,
VisionOS,
Vita,
VxWorks,
Wasi,
WatchOS,
Windows,
Xous,
Zkvm,
Other(Cow<'a, str>),
}
Expand description
Operating system of the target.
§Note
This value is closely related to the second and third element of the platform target triple, though it is not identical.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Aix
IBM AIX operating system
aix
Amdhsa
AMD HSA architecture
amdhsa
Android
Google’s Android mobile operating system
android
Cuda
CUDA parallel computing platform
cuda
Cygwin
POSIX layer for Windows
cygwin
Dragonfly
DragonflyBSD
dragonfly
Emscripten
The emscripten JavaScript transpiler
emscripten
Espidf
Espressif IoT framework
espidf
FreeBSD
The FreeBSD operating system
freebsd
Fuchsia
Google’s next-gen Rust OS
fuchsia
Haiku
Haiku, an open source BeOS clone
haiku
Hermit
Unikernel targeting HPC and cloud environments
hermit
Horizon
horizon
Hurd
hurd
IllumOS
illumos is a partly free and open-source Unix OS based on OpenSolaris
illumos
iOS
Apple’s iOS mobile operating system
ios
L4re
Microkernel OS framework
l4re
Linux
Linux
linux
Lynxos178
Real-time OS
lynxos178
MacOS
Apple’s Mac OS X
macos
NetBSD
The NetBSD operating system
netbsd
None
none
Nto
QNX Neutrino OS
nto
Nuttx
Embedded real-time OS
nuttx
OpenBSD
The OpenBSD operating system
openbsd
Psp
PlayStation Portable OS
psp
Psx
PlayStation OS
psx
Redox
Redox, a Unix-like OS written in Rust
redox
Rtems
Real-time executive OS
rtems
Solaris
Oracle’s (formerly Sun) Solaris operating system
solaris
SolidAsp3
solid_asp3
TeeOS
Trusted Execution Environment OS
teeos
Trusty
Android trusted environment
trusty
TvOS
Apple TV OS
tvos
Uefi
Firmware interface
uefi
Unknown
unknown
VisionOS
Apple spatial OS
visionos
Vita
PlayStation Vita OS
vita
VxWorks
VVxWorks is a deterministic, priority-based preemptive RTOS with low latency and minimal jitter
vxworks
Wasi
The WebAssembly System Interface
wasi
WatchOS
Apple Watch OS
watchos
Windows
Microsoft’s Windows operating system
windows
Xous
Privacy-focused microkernel OS
xous
Zkvm
Zero-knowledge proof VM
zkvm
Other(Cow<'a, str>)
Unknown value