-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
24 lines (20 loc) · 721 Bytes
/
Cargo.toml
File metadata and controls
24 lines (20 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[package]
name = "rllvm"
version = "0.1.1"
author = "Cr0a3"
description = "LLVM alternativ"
edition = "2021"
[dependencies]
object = {version = "0.35.0", features = ["write"], optional = true }
iced-x86 = { version = "1.21.0", features = ["code_asm"], optional = true }
libc = { version = "0.2.154", optional = true }
libloading = { version = "0.8.3", optional = true }
target-lexicon = "0.12.14"
winapi = { version = "0.3.9", features = ["winnt", "memoryapi", "libloaderapi"], optional = true }
[features]
default = ["jit", "ir", "obj"]
jit = ["dep:libc", "dep:winapi", "dep:libloading"]
context = ["dep:iced-x86", "obj"]
function = ["dep:iced-x86"]
obj = ["dep:object"]
ir = ["context", "function", "dep:iced-x86"]