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" }
29 # Uncomment to use local checkout of cranelift
30 #[patch."https://github.com/CraneStation/cranelift.git"]
31 #cranelift = { path = "../cranelift/cranelift-umbrella" }
32 #cranelift-module = { path = "../cranelift/cranelift-module" }
33 #cranelift-simplejit = { path = "../cranelift/cranelift-simplejit" }
34 #cranelift-faerie = { path = "../cranelift/cranelift-faerie" }
36 #[patch."https://github.com/gimli-rs/gimli.git"]
37 #gimli = { path = "../" }
39 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
40 cranelift-simplejit = { git = "https://github.com/CraneStation/cranelift.git" }
42 [profile.dev.overrides."*"]