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