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:
authorbors <bors@rust-lang.org>2020-03-22 18:37:19 +0000
committerbors <bors@rust-lang.org>2020-03-22 18:37:19 +0000
commitd1e81ef234ff5c2e0e3a69cb4e8e5f5b0fe1fd83 (patch)
treeca5c3aa589727e4c1845fa6865015841f1d62db9 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent1902d1e0de179498d0cb7fd4856d1e0ffcd52095 (diff)
parentdd973d1b1235813c5e38a092272f2231800b1e53 (diff)
downloadrust-d1e81ef234ff5c2e0e3a69cb4e8e5f5b0fe1fd83.tar.gz
rust-d1e81ef234ff5c2e0e3a69cb4e8e5f5b0fe1fd83.zip
Auto merge of #69079 - CAD97:layout-of-ptr, r=RalfJung
Allow calculating the layout behind a pointer

There was some discussion around allowing this previously.

This does make the requirement for raw pointers to have valid metadata exposed as part of the std API (as a safety invariant, not validity invariant), though I think this is not strictly necessarily required as of current. cc @rust-lang/wg-unsafe-code-guidelines

Naming is hard; I picked the best "obvious" name I could come up with.

If it's agreed that this is actually a desired API surface, I'll file a tracking issue and update the attributes.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions