W3cubDocs

/Rust

Module os

OS-specific functionality.

Modules

darwinApple
Platform-specific extensions to std for Darwin / Apple platforms.
fdUnix or HermitCore or target_os=trusty or WASI or target_os=motor
Owned and borrowed Unix-like file descriptors.
linuxLinux
Linux-specific definitions.
raw
Compatibility module for C platform-specific types. Use core::ffi instead.
unixUnix
Platform-specific extensions to std for Unix platforms.
wasiWASI
Platform-specific extensions to std for the WebAssembly System Interface (WASI).
wasip2WASI and target_env=p2
Platform-specific extensions to std for Preview 2 of the WebAssembly System Interface (WASI).
windowsWindows
Platform-specific extensions to std for Windows.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/index.html