error: internal compiler error: unexpected failure (expected item, found foreign item) #14227
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
I'm getting the following error compiling a simple FFI test (backtrace included below). I am creating a reference to a static pointer symbol in a C library. Then, I have a Rust object wrapper and want to create a static instance of that object that points to the pointer defined in the C library. Here is the gist of the library:
Backtrace
The text was updated successfully, but these errors were encountered: