Skip to main content

Module sys

Module sys 

Source

Re-exportsยง

pub use pal::*;

Modulesยง

alloc ๐Ÿ”’
args
Platform-dependent command line arguments abstraction.
backtrace
Common code for printing backtraces.
cmath
configure_builtins ๐Ÿ”’
The configure builtins provides runtime support compiler-builtin features which require dynamic initialization to work as expected, e.g. aarch64 outline-atomics.
env
Platform-dependent environment variables abstraction.
env_consts
Constants associated with each target.
exit
fd
Platform-dependent file descriptor abstraction.
fs
helpers ๐Ÿ”’
Small helper functions used inside sys.
io
net
os_str
pal ๐Ÿ”’
The PAL (platform abstraction layer) contains platform-specific abstractions for implementing the features in the other submodules, such as e.g. bindings.
path
personality ๐Ÿ”’
This module contains the implementation of the eh_personality lang item.
pipe
platform_version
Runtime lookup of operating system / platform version.
process
random
stdio
sync
thread
time
thread_local ๐Ÿ‘ป Experimental
Implementation of the thread_local macro.

Traitsยง

AsInner ๐Ÿ”’
A trait for viewing representations from std types.
AsInnerMut ๐Ÿ”’
A trait for viewing representations from std types.
FromInner ๐Ÿ”’
A trait for creating std types from internal representations.
IntoInner ๐Ÿ”’
A trait for extracting representations from std types.