1 cargo-features = ["profile-overrides"]
4 name = "rustc_codegen_cranelift"
6 authors = ["bjorn3 <bjorn3@users.noreply.github.com>"]
10 crate-type = ["rlib", "dylib"]
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"
26 gimli = { git = "https://github.com/gimli-rs/gimli.git" }
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" }
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" }
43 #[patch."https://github.com/gimli-rs/gimli.git"]
44 #gimli = { path = "../" }
46 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
47 cranelift-simplejit = { git = "https://github.com/CraneStation/cranelift.git" }
50 faerie = { git = "https://github.com/m4b/faerie.git" }
51 object = { git = "https://github.com/gimli-rs/object.git" }
53 [profile.dev.overrides."*"]