Describe the Bug
So I've added Inkwell to Cargo with following line:
inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm17-0"] }
Everytime I want to build/run my project while using Inkwell throws following error:
error: linking with cc failed: exit status: 1
|
= note: LC_ALL="C" [more arguments...]
= note: /usr/bin/ld: [project path]/target/debug/deps/libllvm_sys-af2874cb0b33780b.rlib: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
I'm not sure if this is a bug or just a mistake of mine.
To Reproduce
If I do
let context = Context::create();
the programm refuses to compile with the given error.
Expected Behavior
Well, compile and be able to run.
LLVM Version (please complete the following information):
LLVM Version: 17.0.1
Inkwell Branch Used: master
Desktop (please complete the following information):
OS: Fedora 39
Additional Context
I'm sure I've installed all needed dependencies.
Rustup is installed on latest version like llvm is.
Describe the Bug So I've added Inkwell to Cargo with following line: inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm17-0"] }
Everytime I want to build/run my project while using Inkwell throws following error: error: linking with
cc
failed: exit status: 1 | = note: LC_ALL="C" [more arguments...] = note: /usr/bin/ld: [project path]/target/debug/deps/libllvm_sys-af2874cb0b33780b.rlib: error adding symbols: file format not recognized collect2: error: ld returned 1 exit statusI'm not sure if this is a bug or just a mistake of mine.
To Reproduce If I do let context = Context::create(); the programm refuses to compile with the given error.
Expected Behavior Well, compile and be able to run.
LLVM Version (please complete the following information):
Desktop (please complete the following information):
Additional Context I'm sure I've installed all needed dependencies. Rustup is installed on latest version like llvm is.