Skip to content

Cleanup unsafe synchronization primitives in core - #6387

Merged
bors merged 3 commits into
rust-lang:incomingfrom
brson:unstable
May 13, 2013
Merged

Cleanup unsafe synchronization primitives in core#6387
bors merged 3 commits into
rust-lang:incomingfrom
brson:unstable

Conversation

@brson

Copy link
Copy Markdown
Contributor

r? @pcwalton

  • Move SharedMutableState, LittleLock, and Exclusive from core::unstable to core::unstable::sync
  • Modernize the SharedMutableState interface with methods
  • Rename SharedMutableState to UnsafeAtomicRcBox to match RcBox.

bors added a commit that referenced this pull request May 13, 2013
r? @pcwalton
* Move `SharedMutableState`, `LittleLock`, and `Exclusive` from `core::unstable` to `core::unstable::sync`
* Modernize the `SharedMutableState` interface with methods
* Rename `SharedMutableState` to `UnsafeAtomicRcBox` to match `RcBox`.
@borsbors closed this May 13, 2013
@bors
bors merged commit 369231b into rust-lang:incomingMay 13, 2013
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6387: do not use associated types placeholder for inlay hint r=flodiebold a=bnjjj
closerust-lang#6191
Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6396: refactor(hir_ty): do not override DisplayTarget in hir_fmt r=flodiebold a=bnjjj
Linked to bug discovery from rust-lang#6387
The main goal is to not use `display()` method inside `hir_fmt` to not override any parameters (like `DisplayTarget`). cc @flodiebold Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@brson@bors