Closed
Description
The unsafe & low-level code guide added in #12887 should cover:
-
transmute
/casting - the
Unsafe
type (for inner mutability) - the relevance of the various kinds (i.e.
Sync
etc.), and when to apply the types instd::kinds::marker
to ensure safety -
static mut
, including atomics and static mutexes -
#[no_std]
in more detail: I don't know enough about the correct compilation flags, and symbols required, so that section is rather loose on detail - the
asm!
syntax described isn't 100% up-to-date; I took it from the description in the 0.6 release notes, and there have been extensions and improvements since that was written.
Metadata
Metadata
Assignees
Labels
No labels