TheDan64 / inkwell

It's a New Kind of Wrapper for Exposing LLVM (Safely)
https://thedan64.github.io/inkwell/
Apache License 2.0
2.38k stars 229 forks source link

llvm 18 not working on inkwell 0.4.0? #520

Closed mornsoltice closed 3 months ago

mornsoltice commented 3 months ago

Describe the Bug when i try to add inkwell to my project with

inkwell = { version = "0.4.0", features = ["llvm18-0"] }

at first rust analyzer see this as an error but i just ignored it, and then when i install another package i got this warning

failed to select a version for inkwell. ... required by package venti v0.1.0 (/home/soltice/Development/venti) versions that meet the requirements ^0.4.0 (locked to 0.4.0) are: 0.4.0

the package venti depends on inkwell, with features: llvm18-0 but inkwell does not have these features.

failed to select a version for inkwell which could resolve this conflict

To Reproduce i dont think this was my code problem

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

TheDan64 commented 3 months ago

Inkwell 0.4.0 only has support for up to LLVM 17. We are almost ready to release a 0.5.0 with LLVM 18 here soon: https://github.com/TheDan64/inkwell/milestone/4

mornsoltice commented 3 months ago

oh, I thought it supports LLVM 18 because it says so in the readme:)

TheDan64 commented 3 months ago

0.5.0 should now be available on crates.io