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