fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1[package] 2name = "rustc_codegen_cranelift" 3version = "0.1.0" 4edition = "2021" 5 6[lib] 7crate-type = ["dylib"] 8 9[dependencies] 10# These have to be in sync with each other 11cranelift-codegen = { version = "0.98", features = ["unwind", "all-arch"] } 12cranelift-frontend = { version = "0.98" } 13cranelift-module = { version = "0.98" } 14cranelift-native = { version = "0.98" } 15cranelift-jit = { version = "0.98", optional = true } 16cranelift-object = { version = "0.98" } 17target-lexicon = "0.12.0" 18gimli = { version = "0.27.2", default-features = false, features = ["write"]} 19object = { version = "0.30.3", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] } 20 21indexmap = "2.0.0" 22libloading = { version = "0.7.3", optional = true } 23smallvec = "1.8.1" 24 25[patch.crates-io] 26# Uncomment to use local checkout of cranelift 27#cranelift-codegen = { path = "../wasmtime/cranelift/codegen" } 28#cranelift-frontend = { path = "../wasmtime/cranelift/frontend" } 29#cranelift-module = { path = "../wasmtime/cranelift/module" } 30#cranelift-native = { path = "../wasmtime/cranelift/native" } 31#cranelift-jit = { path = "../wasmtime/cranelift/jit" } 32#cranelift-object = { path = "../wasmtime/cranelift/object" } 33 34#gimli = { path = "../" } 35 36[features] 37# Enable features not ready to be enabled when compiling as part of rustc 38unstable-features = ["jit", "inline_asm"] 39jit = ["cranelift-jit", "libloading"] 40inline_asm = [] 41 42[package.metadata.rust-analyzer] 43rustc_private = true