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 11, 2025
1 parent ce55b20 commit 5cf72c8
Show file tree
Hide file tree
Showing 13 changed files with 2,765 additions and 2,385 deletions.
2 changes: 2 additions & 0 deletions library/alloc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,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 5cf72c8

Please sign in to comment.