Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Low level system calls.
Add the following to your
This crate is limited to providing basic functionality necessary to perform system calls on the target platform.
All functions are marked unsafe, and no validation is done on arguments or return values.
All arguments and return values use the most basic possible types with results wrapped in a
Result. For example all arguments are
usize and return is
Result<usize, usize> on
x86_64-linux. All arguments must be converted to this basic type, and it's up to the caller to determine what the result represents.
The intention is to provide a minimal stable base with no unnecessary overhead on which to build a higher-level library.
// attempts to write "hello" to STDOUT
// exits the program with a success code
pub unsafe !