Rust Inkwell LLVM wrapper GEPPointee error: How do I access a struct member through pointer?
I am trying to learn the Inkwell LLVM wrapper in Rust. I have been getting a GEPPointee error when trying to run the following program. The program attempts to create a struct allocation, and initialize the struct fields. I am having trouble understanding how to access the fields. I believe that my understanding of how the ‘build_struct_gep’ function works is incorrect.