I'm trying t skip some fields with rkyv but I have managed to get it working yet. Frankly I don't want to think too much about it right now so I will be temporarily using bincode. I still believe in rkyv but it may not be ready yet for my use-case. I will keep it in my backlog to reimplement ser-de in rkyv.
use bytecheck::CheckBytes;
use llvm_sys::{
target::{LLVM_InitializeNativeAsmPrinter, LLVM_InitializeNativeTarget},
LLVMModule,
};