-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand the unsafe & low-level guide to cover static mut, more #[no_std], modern asm!
#12905
Closed
6 tasks
Comments
Triage bump: still needs to be updated. @steveklabnik Gentle heads up |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 20, 2015
Many unsafe features are now in the unstable section, so this section is really just about raw pointers now. That also makes sense for its place in the TOC. This addresses part of rust-lang#12905.
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 20, 2015
Due to documenting `transmute`, addresses part of rust-lang#12905
Merged
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 20, 2015
Many unsafe features are now in the unstable section, so this section is really just about raw pointers now. That also makes sense for its place in the TOC. This addresses part of rust-lang#12905.
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 20, 2015
…richton Due to documenting `transmute`, addresses part of rust-lang#12905
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 21, 2015
…ichton Many unsafe features are now in the unstable section, so this section is really just about raw pointers now. That also makes sense for its place in the TOC. This addresses part of rust-lang#12905.
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 21, 2015
…richton Due to documenting `transmute`, addresses part of rust-lang#12905
Okay, so at this point:
as such, I'm going to give this a close. Adding a "building unsafe abstractions safely" chapter would be nice for Effective Rust, but I'm not leaving tickets open for possible chapters right now. |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Aug 16, 2022
Generate rust type from json fix rust-lang#10118 Should this be a diagnostic? I made it a diagnostic because of issue label.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The unsafe & low-level code guide added in #12887 should cover:
transmute
/castingUnsafe
type (for inner mutability)Sync
etc.), and when to apply the types instd::kinds::marker
to ensure safetystatic 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 detailasm!
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.The text was updated successfully, but these errors were encountered: