]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_codegen_cranelift/Cargo.toml
New upstream version 1.65.0+dfsg1
[rustc.git] / compiler / rustc_codegen_cranelift / Cargo.toml
CommitLineData
29967ef6
XL
1[package]
2name = "rustc_codegen_cranelift"
3version = "0.1.0"
c295e0f8 4edition = "2021"
29967ef6
XL
5
6[lib]
7crate-type = ["dylib"]
8
9[dependencies]
10# These have to be in sync with each other
f2b60f7d
FG
11cranelift-codegen = { version = "0.87.0", features = ["unwind", "all-arch"] }
12cranelift-frontend = "0.87.0"
13cranelift-module = "0.87.0"
14cranelift-native = "0.87.0"
15cranelift-jit = { version = "0.87.0", optional = true }
16cranelift-object = "0.87.0"
17df50a5 17target-lexicon = "0.12.0"
5e7ed085 18gimli = { version = "0.26.0", default-features = false, features = ["write"]}
f2b60f7d 19object = { version = "0.29.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
29967ef6
XL
20
21ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg_clif_ranlib" }
923072b8 22indexmap = "1.9.1"
29967ef6 23libloading = { version = "0.6.0", optional = true }
5e7ed085 24once_cell = "1.10.0"
064997fb 25smallvec = "1.8.1"
29967ef6 26
a2a8927a 27[patch.crates-io]
29967ef6 28# Uncomment to use local checkout of cranelift
29967ef6
XL
29#cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }
30#cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
31#cranelift-module = { path = "../wasmtime/cranelift/module" }
17df50a5 32#cranelift-native = { path = "../wasmtime/cranelift/native" }
5869c6ff 33#cranelift-jit = { path = "../wasmtime/cranelift/jit" }
29967ef6
XL
34#cranelift-object = { path = "../wasmtime/cranelift/object" }
35
29967ef6
XL
36#gimli = { path = "../" }
37
38[features]
94222f64
XL
39# Enable features not ready to be enabled when compiling as part of rustc
40unstable-features = ["jit", "inline_asm"]
5869c6ff 41jit = ["cranelift-jit", "libloading"]
29967ef6
XL
42inline_asm = []
43
cdc7bbd5
XL
44[package.metadata.rust-analyzer]
45rustc_private = true