Modules
alloc
args
Platform-dependent command line arguments abstraction.
backtrace
Common code for printing backtraces.
cmath
conf
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
paths
personality
This module contains the implementation of the eh_personality lang item.
pipe
platform_version
Runtime lookup of operating system / platform version.
process
random
stack_overflow
stdio
sync
thread
thread_local
Implementation of the thread_local macro.
time
unix
weak
Support for "weak linkage" to symbols on Unix
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.
IsMinusOne
Functions
abort_internal
cleanup
cvt
Converts native return values to Result using the -1 means error is in errno convention.
Non-error values are Ok-wrapped.
cvt_nz
Zero means Ok(), all other values are treated as raw OS errors. Does not look at errno.
cvt_r
-1 → look at errno → retry on EINTR. Otherwise Ok()-wrap the closure return value.
init
on_broken_pipe_used
signal