I would like to generate a fully linked LLVM bitcode file from Rust source code which could be executed by LLVM IR interpreters such as lli
. I found solutions such as one from Reddit and another one from Stack Overflow, but they didn't provide enough guidance or could not make fully linked ones.
I hope there could be some detailed guidance here.