Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 19fb34b

Browse files
committedMay 24, 2025·
Make Rc<T>::deref zero-cost
1 parent 105354d commit 19fb34b

File tree

17 files changed

+3116
-1180
lines changed

17 files changed

+3116
-1180
lines changed
 

‎library/alloc/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@
204204
#[macro_use]
205205
mod macros;
206206

207+
#[cfg(not(no_rc))]
208+
mod raw_rc;
207209
mod raw_vec;
208210

209211
// Heaps provided for low-level allocation strategies

‎library/alloc/src/raw_rc/mod.rs

Lines changed: 539 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.