Skip to content

Unsafe fields #3458

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
95dd295
Add unsafe fields RFC
jhpratt Jul 13, 2023
fa712be
RFC3458: Update Summary
jswrenn Jan 5, 2025
46766ed
RFC3458: Update Motivation
jswrenn Jan 5, 2025
bb6e76a
RFC3458: Introduce 'Rationale and Alternatives'
jswrenn Jan 5, 2025
aafd5f4
RFC3458: Update Guide-Level Explanation
jswrenn Jan 6, 2025
ed5ceb4
RFC3458: Require trivially droppable fields
jswrenn Jan 8, 2025
3f851ae
RFC3458: `Copy` is conditionally unsafe to implement
jswrenn Jan 8, 2025
9908419
RFC3458: Update Reference-Level Explanation
jswrenn Jan 9, 2025
247bc41
RFC3458: Alarm fatigue and its alternatives
jswrenn Jan 9, 2025
2d7a512
RFC3458: Reduce scope to additive invariants
jswrenn Feb 25, 2025
000075f
RFC3458: Add depth to 'Safe Unions' future possibility
jswrenn Feb 25, 2025
1d0d8be
RFC3458: Allow subtractive invariants by constraining safety hygiene
jswrenn Feb 26, 2025
e8aebe2
RFC3458: Clarify that language safety invariants must never be violated
jswrenn Feb 26, 2025
9521d12
RFC3458: Clarify that terminology used in RFC is unresolved.
jswrenn Feb 26, 2025
27628e0
RFC3458: Fix typos
jswrenn Feb 27, 2025
f04701b
RFC3458: Fields must be soundly droppable before being dropped
jswrenn Feb 28, 2025
ed920e9
RFC3458: Add complete, realistic example
jswrenn Apr 2, 2025
cf0516b
RFC3458: Document why field copies and moves require `unsafe`
jswrenn Apr 2, 2025
aa0c333
RFC3458: Explore 'Wrapper Type' and 'More Syntactic Granularity' alte…
jswrenn Apr 11, 2025
322c4a8
RFC3458: Tweak `UniqueArc::arc` invariant.
jswrenn Apr 11, 2025
a5cc19f
RFC3458: Tweak `Sync` impl for `UniqueArc`
jswrenn Apr 11, 2025
b229496
RFC3458: Remove problematic `Sync` impl
jswrenn Apr 15, 2025
f4426ea
RFC3458: Make `Unsafe::new` safe
jswrenn Apr 15, 2025
f4e85fb
RFC3458: Document 'Syntactic Knobs and Wrapper Types' as future possi…
jswrenn Apr 15, 2025
94c173a
RFC3458: Clarify that syntactic knob possibility is not an easy migra…
jswrenn Apr 18, 2025
462cee4
RFC3458: Document trivial proof drawback's interaction with borrow ch…
jswrenn Apr 18, 2025
d1d7388
RFC3458: Document alt of `Mixing Syntactic Knobs with a Wrapper Type`
jswrenn Apr 18, 2025
f5a82f8
RFC3458: Add links to RFC PR and Rust tracking issue
jswrenn Apr 18, 2025
d4cfd14
RFC3458: Typo fix
jswrenn Apr 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading