about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-06-10 11:03:40 +0200
committerGitHub <noreply@github.com>2020-06-10 11:03:40 +0200
commitfda594e6ae5c430475120944b8a0e92fe8f206a5 (patch)
tree30f9257724dfd7072f029e2f845309824f0b9ca3 /src/test/codegen/src-hash-algorithm
parent78d08a2269e359aa54f997a0fefe1eb828899a5c (diff)
parentd4d3d7de68d331829b5dcd08be3d4aec1a7a7f2b (diff)
downloadrust-fda594e6ae5c430475120944b8a0e92fe8f206a5.tar.gz
rust-fda594e6ae5c430475120944b8a0e92fe8f206a5.zip
Rollup merge of #72890 - davidtwco:issue-66202-normalize-and-transparent-improper-ctypes, r=varkor
improper ctypes: normalize return types and transparent structs

Fixes #66202.

See each commit individually (except the first which adds a test) for more detailed explanations on the changes made.

In summary, this PR ensures that return types are normalized before being checked for FFI-safety, and that transparent newtype wrappers are FFI-safe if the type being wrapped is FFI-safe (often true previously, but not if, after substitution, all types in a transparent newtype were zero sized).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions