]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Merge pull request #627 from bjorn3/wip_i128
[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 = ["rlib", "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
30 [patch."https://github.com/CraneStation/cranelift.git"]
31 cranelift = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
32 cranelift-module = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
33 cranelift-simplejit = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
34 cranelift-faerie = { git = "https://github.com/bjorn3/cretonne.git", branch = "do_not_remove_cg_clif_i128" }
35
36 # Uncomment to use local checkout of cranelift
37 #[patch."https://github.com/CraneStation/cranelift.git"]
38 #cranelift = { path = "../cranelift/cranelift-umbrella" }
39 #cranelift-module = { path = "../cranelift/cranelift-module" }
40 #cranelift-simplejit = { path = "../cranelift/cranelift-simplejit" }
41 #cranelift-faerie = { path = "../cranelift/cranelift-faerie" }
42
43 #[patch."https://github.com/gimli-rs/gimli.git"]
44 #gimli = { path = "../" }
45
46 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
47 cranelift-simplejit = { git = "https://github.com/CraneStation/cranelift.git" }
48
49 [patch.crates-io]
50 faerie = { git = "https://github.com/m4b/faerie.git" }
51 object = { git = "https://github.com/gimli-rs/object.git" }
52
53 [profile.dev.overrides."*"]
54 opt-level = 3