Open
Description
For example foreign type pointer comparison is not tested. Also &(*val).0
where field 0
of *val
is a foreign type is not tested. As a last thing pointer to *mut ForeignType
casting it not tested.
These were all cases which were mishandled in rustc_codegen_cranelift. I didn't discover them until I tried to compile rustc itself using cg_clif.
Metadata
Metadata
Assignees
Labels
Area: Foreign function interface (FFI)Area: The testsuite used to check the correctness of rustcCategory: An issue proposing an enhancement or a PR with one.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.`#![feature(extern_types)]`Relevant to the compiler team, which will review and decide on the PR/issue.This issue requires a nightly compiler in some way.