]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_codegen_cranelift/Cargo.toml
New upstream version 1.67.1+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
2b03887a
FG
11cranelift-codegen = { version = "0.88.1", features = ["unwind", "all-arch"] }
12cranelift-frontend = "0.88.1"
13cranelift-module = "0.88.1"
14cranelift-native = "0.88.1"
15cranelift-jit = { version = "0.88.1", optional = true }
16cranelift-object = "0.88.1"
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 20
923072b8 21indexmap = "1.9.1"
2b03887a 22libloading = { version = "0.7.3", optional = true }
5e7ed085 23once_cell = "1.10.0"
064997fb 24smallvec = "1.8.1"
29967ef6 25
a2a8927a 26[patch.crates-io]
29967ef6 27# Uncomment to use local checkout of cranelift
29967ef6
XL
28#cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }
29#cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
30#cranelift-module = { path = "../wasmtime/cranelift/module" }
17df50a5 31#cranelift-native = { path = "../wasmtime/cranelift/native" }
5869c6ff 32#cranelift-jit = { path = "../wasmtime/cranelift/jit" }
29967ef6
XL
33#cranelift-object = { path = "../wasmtime/cranelift/object" }
34
29967ef6
XL
35#gimli = { path = "../" }
36
37[features]
94222f64
XL
38# Enable features not ready to be enabled when compiling as part of rustc
39unstable-features = ["jit", "inline_asm"]
5869c6ff 40jit = ["cranelift-jit", "libloading"]
29967ef6
XL
41inline_asm = []
42
cdc7bbd5
XL
43[package.metadata.rust-analyzer]
44rustc_private = true