]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #106675 - krtab:fix_improper_ctypes, r=davidtwco
authorYuki Okushi <huyuumi.dev+love@gmail.com>
Thu, 12 Jan 2023 20:47:22 +0000 (05:47 +0900)
committerGitHub <noreply@github.com>
Thu, 12 Jan 2023 20:47:22 +0000 (05:47 +0900)
commit19ba4305b9b4dd1bdfa025f974338f6172cd1e12
treefcf25d8b853bf581b32b28c3c76fc6a45385a92a
parent3f21b812bec836dc3bc0f56d4e34b7c46ec68af1
parent797f2479974bfe0d759f4a2bd51dfef95b8d75cf
Rollup merge of #106675 - krtab:fix_improper_ctypes, r=davidtwco

Mark ZST as FFI-safe if all its fields are PhantomData

This presents one possible solution to issue: #106629.

This is my first (tentative) contribution to the compiler itself.

I'm looking forward for comments and feedback

Closes: #106629