This aims to cover the basics of writing safe unsafe code. At the moment it is just designed to be a better place for the `asm!()` docs than the detailed release notes wiki page, and I took the time to write up some other things. More examples are needed, especially of things that can subtly go wrong; and vast areas of `unsafe`-ty aren't covered, e.g. `static mut`s and thread-safety in general.
2.7 KiB
2.7 KiB
% Rust documentation
Guides
- Pointers
- References and Lifetimes
- Containers and Iterators
- Tasks and Communication
- Foreign Function Interface
- Writing Safe Unsafe and Low-Level Code
- Macros
- Testing
- Rust's Runtime
Libraries
- The
arenaallocation library - The
collectionslibrary - The
extralibrary of extra stuff - The
flatecompression library - The
fourccfour-character code library - The
getoptsargument parsing library - The
globfile path matching library - The
greenM:N runtime library - The
hexfloatlibrary for hexadecimal floating-point literals - The
native1:1 threading runtime - The
numarbitrary precision numerics library - The
randlibrary for random numbers and distributions - The
rustccompiler - The
rustuvM:N I/O library - The
semverversion collation library - The
serializevalue encoding/decoding library - The
synclibrary for concurrency-enabled mechanisms and primitives - The
syntaxlibrary, the Rust parser - The
termterminal-handling library - The
testlibrary containing the unit-testing & micro-benchmark framework - The
timelibrary - The
uuid128-bit universally unique identifier library
Tooling
FAQs
- Language FAQ
- Project FAQ
- Code cheatsheet - "How do I do X?"
- How to submit a bug report
External resources
- The Rust IRC channel -
#ruston irc.mozilla.org - The Rust community on Reddit
- The Rust wiki