Cargo Features
[dependencies]
llvm-plugin = { version = "0.6.0", default-features = false, features = ["macros", "win-link-opt", "win-link-lld", "llvm10-0", "llvm11-0", "llvm12-0", "llvm13-0", "llvm14-0", "llvm15-0", "llvm16-0", "llvm17-0", "llvm18-0", "target-x86", "target-arm", "target-mips", "target-aarch64", "target-amdgpu", "target-systemz", "target-hexagon", "target-nvptx", "target-msp430", "target-xcore", "target-powerpc", "target-sparc", "target-bpf", "target-lanai", "target-webassembly", "target-riscv", "target-all"] }
- default = macros, target-all
-
These default features are set whenever
llvm-plugin
is added without
somewhere in the dependency tree.default-features = false - macros default = llvm-plugin-macros
- win-link-opt
-
On Windows, llvm plugins require linking with either opt.lib,
or lld.lib. - win-link-lld
- llvm10-0
-
Enables llvm10-0-no-llvm-linking of inkwell
- llvm11-0
-
Enables llvm11-0-no-llvm-linking of inkwell
- llvm12-0
-
Enables llvm12-0-no-llvm-linking of inkwell
- llvm13-0
-
Enables llvm13-0-no-llvm-linking of inkwell
- llvm14-0
-
Enables llvm14-0-no-llvm-linking of inkwell
- llvm15-0
-
Enables llvm15-0-no-llvm-linking of inkwell
- llvm16-0
-
Enables llvm16-0-no-llvm-linking of inkwell
- llvm17-0
-
Enables llvm17-0-no-llvm-linking of inkwell
- llvm18-0
-
Enables llvm18-0-no-llvm-linking of inkwell
- target-x86
-
Enables target-x86 of inkwell
- target-arm
-
Enables target-arm of inkwell
- target-mips
-
Enables target-mips of inkwell
- target-aarch64
-
Enables target-aarch64 of inkwell
- target-amdgpu
-
Enables target-amdgpu of inkwell
- target-systemz
-
Enables target-systemz of inkwell
- target-hexagon
-
Enables target-hexagon of inkwell
- target-nvptx
-
Enables target-nvptx of inkwell
- target-msp430
-
Enables target-msp430 of inkwell
- target-xcore
-
Enables target-xcore of inkwell
- target-powerpc
-
Enables target-powerpc of inkwell
- target-sparc
-
Enables target-sparc of inkwell
- target-bpf
-
Enables target-bpf of inkwell
- target-lanai
-
Enables target-lanai of inkwell
- target-webassembly
-
Enables target-webassembly of inkwell
- target-riscv
-
Enables target-riscv of inkwell
- target-all default
-
Enables target-all of inkwell
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.