]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_codegen_cranelift/Cargo.toml
New upstream version 1.70.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 5
9c376795
FG
6[[bin]]
7# This is used just to teach rust-analyzer how to check the build system. required-features is used
8# to disable it for regular builds.
9name = "y"
10path = "./y.rs"
11required-features = ["__check_build_system_using_ra"]
12
29967ef6
XL
13[lib]
14crate-type = ["dylib"]
15
16[dependencies]
17# These have to be in sync with each other
353b0b11
FG
18cranelift-codegen = { version = "0.93", features = ["unwind", "all-arch"] }
19cranelift-frontend = { version = "0.93" }
20cranelift-module = { version = "0.93" }
21cranelift-native = { version = "0.93" }
22cranelift-jit = { version = "0.93", optional = true }
23cranelift-object = { version = "0.93" }
17df50a5 24target-lexicon = "0.12.0"
5e7ed085 25gimli = { version = "0.26.0", default-features = false, features = ["write"]}
f2b60f7d 26object = { version = "0.29.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
29967ef6 27
353b0b11 28indexmap = "1.9.3"
2b03887a 29libloading = { version = "0.7.3", optional = true }
5e7ed085 30once_cell = "1.10.0"
064997fb 31smallvec = "1.8.1"
29967ef6 32
a2a8927a 33[patch.crates-io]
29967ef6 34# Uncomment to use local checkout of cranelift
29967ef6
XL
35#cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }
36#cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
37#cranelift-module = { path = "../wasmtime/cranelift/module" }
17df50a5 38#cranelift-native = { path = "../wasmtime/cranelift/native" }
5869c6ff 39#cranelift-jit = { path = "../wasmtime/cranelift/jit" }
29967ef6
XL
40#cranelift-object = { path = "../wasmtime/cranelift/object" }
41
29967ef6
XL
42#gimli = { path = "../" }
43
44[features]
94222f64
XL
45# Enable features not ready to be enabled when compiling as part of rustc
46unstable-features = ["jit", "inline_asm"]
5869c6ff 47jit = ["cranelift-jit", "libloading"]
29967ef6 48inline_asm = []
9c376795 49__check_build_system_using_ra = []
29967ef6 50
cdc7bbd5
XL
51[package.metadata.rust-analyzer]
52rustc_private = true