inkwell icon indicating copy to clipboard operation
inkwell copied to clipboard

doc.rs fails to build the documentation

Open Yoric opened this issue 1 month ago • 2 comments

As of this day, https://docs.rs/crate/inkwell/latest or https://docs.rs/crate/inkwell/0.7.0 or https://docs.rs/crate/inkwell/0.7.1 all indicate docs.rs failed to build inkwell-XXX.

The logs show error

error: One of the LLVM feature flags must be provided: llvm8-0 llvm9-0 llvm10-0 llvm11-0 llvm12-0 llvm13-0 llvm14-0 llvm15-0 llvm16-0 llvm17-0 llvm18-1 llvm19-1 llvm20-1 llvm21-1

Yoric avatar Nov 25 '25 12:11 Yoric

I don't think there's a way to fix this. docs.rs makes some assumptions about how docs should be generated which don't really apply to inkwell (ie we need a version feature flag)

TheDan64 avatar Nov 26 '25 00:11 TheDan64

ie we need a version feature flag

Just a random idea: could there perhaps be a virtual package inkwell-doc that just somehow serves to build the doc, using the most recent version of llvm?

Alternatively, perhaps https://thedan64.github.io/inkwell/inkwell/ could be brought to a more recent version, then?

Yoric avatar Nov 26 '25 07:11 Yoric