]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
ab95a278c0e6f07b5346f47300efe60a85570cb4
[rust.git] / Cargo.toml
1 cargo-features = ["profile-overrides"]
2
3 [package]
4 name = "rustc_codegen_cranelift"
5 version = "0.1.0"
6 authors = ["bjorn3 <bjorn3@users.noreply.github.com>"]
7 edition = "2018"
8
9 [lib]
10 crate-type = ["dylib"]
11
12 [dependencies]
13 # These have to be in sync with each other
14 cranelift = { git = "https://github.com/CraneStation/cranelift.git" }
15 cranelift-module = { git = "https://github.com/CraneStation/cranelift.git" }
16 cranelift-faerie = { git = "https://github.com/CraneStation/cranelift.git" }
17 target-lexicon = "0.4.0"
18 faerie = "0.10.0"
19
20 #goblin = "0.0.17"
21 ar = "0.7.0"
22 bitflags = "1.1.0"
23 byteorder = "1.2.7"
24 libc = "0.2.53"
25 tempfile = "3.0.7"
26 gimli = { git = "https://github.com/gimli-rs/gimli.git" }
27 indexmap = "1.0.2"
28 object = "0.12.0"
29 libloading = "0.5.1"
30
31 [patch."https://github.com/CraneStation/cranelift.git"]
32 cranelift = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
33 cranelift-module = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
34 cranelift-simplejit = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
35 cranelift-faerie = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
36
37 # Uncomment to use local checkout of cranelift
38 #[patch."https://github.com/CraneStation/cranelift.git"]
39 #cranelift = { path = "../cranelift/cranelift-umbrella" }
40 #cranelift-module = { path = "../cranelift/cranelift-module" }
41 #cranelift-simplejit = { path = "../cranelift/cranelift-simplejit" }
42 #cranelift-faerie = { path = "../cranelift/cranelift-faerie" }
43
44 #[patch."https://github.com/gimli-rs/gimli.git"]
45 #gimli = { path = "../" }
46
47 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
48 cranelift-simplejit = { git = "https://github.com/CraneStation/cranelift.git" }
49
50 [patch.crates-io]
51 faerie = { git = "https://github.com/m4b/faerie.git" }
52 object = { git = "https://github.com/gimli-rs/object.git" }
53
54 [profile.dev.overrides."*"]
55 opt-level = 3