Cargo Features

[dependencies]
decomp = { version = "0.1.4", default-features = false, features = ["llvm-9", "llvm-10", "llvm-11", "llvm-12", "llvm-13", "llvm-14", "llvm-15", "llvm-16", "llvm-17", "llvm-18"] }
default = llvm-18

The llvm-18 feature is set by default whenever decomp is added without default-features = false somewhere in the dependency tree.

llvm-9

Enables llvm-9 of llvm-ir

llvm-ir:

Select the LLVM version to be compatible with.
You _must_ enable exactly one of the following features.

llvm-10

Enables llvm-10 of llvm-ir

llvm-11

Enables llvm-11 of llvm-ir

llvm-12

Enables llvm-12 of llvm-ir

llvm-13

Enables llvm-13 of llvm-ir

llvm-14

Enables llvm-14 of llvm-ir

llvm-15

Enables llvm-15 of llvm-ir

llvm-16

Enables llvm-16 of llvm-ir

llvm-17

Enables llvm-17 of llvm-ir

llvm-18 default

Enables llvm-18 of llvm-ir

decomp has 11 features without comments.