bors
|
ffd59bf9c6
|
Auto merge of #75687 - TimDiekmann:realloc-align, r=Amanieu
Allow reallocation to different alignment in `AllocRef`
The allocator-wg [has decided](https://github.com/rust-lang/wg-allocators/issues/5#issuecomment-672591112) to support reallocating to a different alignment in `AllocRef`. For more details please see the linked issue.
r? @Amanieu
closes https://github.com/rust-lang/wg-allocators/issues/5
|
2020-08-26 10:44:28 +00:00 |
|
Denis Vasilik
|
2500b6df14
|
Link to primitive instead of module
|
2020-08-22 12:16:03 +02:00 |
|
Denis Vasilik
|
9785fd0882
|
Use intra-doc links
|
2020-08-21 21:41:43 +02:00 |
|
Denis Vasilik
|
a45d90ec23
|
Use intra-doc links
|
2020-08-21 21:35:52 +02:00 |
|
Tim Diekmann
|
438c40efa1
|
Allow reallocation to different alignment
|
2020-08-19 06:46:47 +02:00 |
|
Tim Diekmann
|
a9fe0ca47a
|
Clean up AllocRef implementation and documentation
|
2020-08-18 09:53:22 +02:00 |
|
Tim Diekmann
|
c619b36975
|
Remove fast path in reallocation for same layout sizes
|
2020-08-17 13:23:38 +02:00 |
|
Tim Diekmann
|
93d98328d1
|
Revert missing "memory block"
|
2020-08-04 19:24:08 +02:00 |
|
Tim Diekmann
|
929e37d4bf
|
Revert renaming of "memory block"
|
2020-08-04 19:15:48 +02:00 |
|
Tim Diekmann
|
ab9362ad9a
|
Replace Memoryblock with NonNull<[u8]>
|
2020-08-04 18:03:34 +02:00 |
|
Tim Diekmann
|
6395659168
|
Apply suggestions from code review
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
|
2020-08-04 00:21:05 +02:00 |
|
Tim Diekmann
|
db7d07b83b
|
Remove a trailing whitespace
|
2020-08-01 21:53:00 +02:00 |
|
Tim Diekmann
|
9cd9286e20
|
Update doc-comment for grow_zeroed
|
2020-08-01 21:51:50 +02:00 |
|
Tim Diekmann
|
076ef66ba2
|
Remove in-place allocation and revert to separate methods for zeroed allocations
Fix docs
|
2020-07-28 12:41:18 +02:00 |
|
mark
|
2c31b45ae8
|
mv std libs to library/
|
2020-07-27 19:51:13 -05:00 |
|