|
About the Unsafe Code Guidelines category
|
|
1
|
1606
|
March 25, 2019
|
|
Conditions for unsafe code to rely on correctness
|
|
14
|
65
|
February 11, 2026
|
|
Private unsafe fields are a poorly motivated feature
|
|
91
|
1116
|
February 11, 2026
|
|
Pre-RFC: Rust Safety Standard
|
|
70
|
1182
|
February 6, 2026
|
|
`Rc` is `!Send` but not thread-dependant?
|
|
18
|
798
|
December 15, 2025
|
|
*const pointer not warning about use after modify?
|
|
8
|
476
|
November 24, 2025
|
|
Nico’s Handle trait confuses me
|
|
9
|
689
|
October 15, 2025
|
|
Giving generics traits via unsafe code
|
|
23
|
832
|
April 21, 2025
|
|
Discussion: Allowing Unsafe to Bypass Visibility
|
|
36
|
2131
|
April 14, 2025
|
|
Pointers to the heap can have unbounded provenance
|
|
3
|
707
|
April 3, 2025
|
|
Zero-sized structs in C types
|
|
4
|
723
|
March 21, 2025
|
|
Unsafe-to-invoke macros that expand to items
|
|
10
|
632
|
February 11, 2025
|
|
Defining (some) unsynchronized writes
|
|
2
|
256
|
January 31, 2025
|
|
Allow moving out of mutable references with `panic=abort`
|
|
29
|
968
|
January 11, 2025
|
|
Why not borrow check raw pointers’ pointee places?
|
|
18
|
751
|
November 5, 2024
|
|
Aliasing of raw pointers
|
|
6
|
979
|
October 25, 2024
|
|
Layout of DST `Box`
|
|
11
|
573
|
October 22, 2024
|
|
How rustc handle unsafe Rust
|
|
2
|
278
|
September 25, 2024
|
|
Safe code relied upon by unsafe is effectively unsafe
|
|
21
|
1586
|
August 29, 2024
|
|
Lifetime bug in safe part (String - ptr)?
|
|
14
|
816
|
August 28, 2024
|
|
Reading and erasing bits outside of an allocation in inline asm
|
|
2
|
344
|
August 27, 2024
|
|
Mutating the contents of `Vec::as_ptr()`
|
|
8
|
522
|
August 25, 2024
|
|
How does drop function work?
|
|
2
|
320
|
January 31, 2026
|
|
Allocation and Deallocation in different allocators
|
|
8
|
365
|
January 23, 2026
|
|
Is it ub to call `Box::from_raw` to not heap
|
|
7
|
471
|
January 16, 2026
|
|
Declare union fields as safe to access
|
|
6
|
472
|
January 14, 2026
|
|
[Discussion] Safety marks for non thread-safe ffi interfaces
|
|
3
|
269
|
December 23, 2025
|
|
Pre-RFC: adding a `#[warn(drop_with_ffi)]` lint
|
|
8
|
603
|
November 27, 2025
|
|
Pre-RFC: `usize` semantics
|
|
155
|
8323
|
June 5, 2024
|
|
Simpler mental model for unsafe
|
|
26
|
1899
|
September 1, 2025
|