2 name = "rustc_codegen_cranelift"
10 # These have to be in sync with each other
11 cranelift-codegen = { version = "0.102", default-features = false, features = ["std", "unwind", "all-arch"] }
12 cranelift-frontend = { version = "0.102" }
13 cranelift-module = { version = "0.102" }
14 cranelift-native = { version = "0.102" }
15 cranelift-jit = { version = "0.102", optional = true }
16 cranelift-object = { version = "0.102" }
17 target-lexicon = "0.12.0"
18 gimli = { version = "0.28", default-features = false, features = ["write"]}
19 object = { version = "0.32", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
22 libloading = { version = "0.7.3", optional = true }
26 # Uncomment to use local checkout of cranelift
27 #cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }
28 #cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
29 #cranelift-module = { path = "../wasmtime/cranelift/module" }
30 #cranelift-native = { path = "../wasmtime/cranelift/native" }
31 #cranelift-jit = { path = "../wasmtime/cranelift/jit" }
32 #cranelift-object = { path = "../wasmtime/cranelift/object" }
34 #gimli = { path = "../" }
37 # Enable features not ready to be enabled when compiling as part of rustc
38 unstable-features = ["jit", "inline_asm_sym"]
39 jit = ["cranelift-jit", "libloading"]
42 [package.metadata.rust-analyzer]