about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-10 06:47:52 +0100
committerGitHub <noreply@github.com>2020-03-10 06:47:52 +0100
commit6ad5e69b5af63f9044a4fab81450d49303ae8839 (patch)
tree29546e55989fc8d88004ed54117d826597a5064a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent977d69fc1992b0cef8d8ff020261d5bf9ede7424 (diff)
parentf77afc8f9c63d789519c0b1a733462ca654d894a (diff)
downloadrust-6ad5e69b5af63f9044a4fab81450d49303ae8839.tar.gz
rust-6ad5e69b5af63f9044a4fab81450d49303ae8839.zip
Rollup merge of #69799 - TimDiekmann:zst, r=Amanieu
Allow ZSTs in `AllocRef`

Allows ZSTs in all `AllocRef` methods. The implementation of `AllocRef` for `Global` and `System` were adjusted to reflect those changes.

This is the second item on the roadmap to support ZSTs in `AllocRef`: https://github.com/rust-lang/wg-allocators/issues/38#issuecomment-595861542
After this has landed, I will adapt `RawVec`, but since this will be a pretty big overhaul, it makes sense to do a different PR for it.

~~Requires #69794 to land first~~

r? @Amanieu
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions