Skip to content

Commit

Permalink
Make Rc<T>::deref and Arc<T>::deref zero-cost
Browse files Browse the repository at this point in the history
  • Loading branch information
EFanZh committed Jan 4, 2025
1 parent 7349f6b commit dbe51dd
Show file tree
Hide file tree
Showing 13 changed files with 2,611 additions and 2,402 deletions.
2 changes: 2 additions & 0 deletions library/alloc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ mod testing;
#[macro_use]
mod macros;

#[cfg(not(no_rc))]
mod raw_rc;
mod raw_vec;

// Heaps provided for low-level allocation strategies
Expand Down
Loading

0 comments on commit dbe51dd

Please sign in to comment.