Closed ASoldo closed 1 year ago
This issue was solved by healdove in gitter channel. Since I use Arch Linux LLVM was not complete and that's why I had this error.
in order to solve it, healdove provided me with this link ---> https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.0 i had to extract this file and put it somewhere safe like in my ~ location in llvm folder. then in my .zshrc I have exported usual variables for
export LLVM_SYS_150_PREFIX=~/llvm/clang+llvm-15.0.0-x86_64-linux-gnu-rhel-8.4
export LLVM_CONFIG_PATH=/usr/bin/llvm-config
and it worked. thank you healdove for quick help and explanations. gg
Describe the Bug I have started to explore how to make a programming language using Rust. I have created interpreter and parser and it works great. I've tried to use inkwell to compile my script with llvm. Compiler seems to be with no errors but when I try to
cargo build
orcargo run
I encounter a problem. When I try to compile my project within Rust I get this error message:I know it's much to ask but maybe I've made some rookie mistake and someone can spot that. Thank you!
To Reproduce Please provide a simple sample of code which reproduces the issue on your machine.
Expected Behavior A clear and concise description of what you expected to happen.
LLVM Version (please complete the following information):
Desktop (please complete the following information):
Additional Context Add any other context about the problem here.