# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.0" name = "cranelift-jit" version = "0.114.0" authors = ["The Cranelift Project Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A JIT library backed by Cranelift" documentation = "https://docs.rs/cranelift-jit" readme = "README.md" license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/wasmtime" [lib] name = "cranelift_jit" path = "src/lib.rs" [[example]] name = "jit-minimal" path = "examples/jit-minimal.rs" [[test]] name = "basic" path = "tests/basic.rs" [dependencies.anyhow] version = "1.0.22" default-features = false [dependencies.cranelift-codegen] version = "0.114.0" features = [ "std", "unwind", "std", ] default-features = false [dependencies.cranelift-control] version = "0.114.0" [dependencies.cranelift-entity] version = "0.114.0" [dependencies.cranelift-module] version = "0.114.0" [dependencies.cranelift-native] version = "0.114.0" [dependencies.libc] version = "0.2.112" default-features = true [dependencies.log] version = "0.4.8" default-features = false [dependencies.memmap2] version = "0.2.1" optional = true [dependencies.region] version = "3.0.2" [dependencies.target-lexicon] version = "0.12.16" [dependencies.wasmtime-jit-icache-coherence] version = "=27.0.0" [dev-dependencies.cranelift-entity] version = "0.114.0" [dev-dependencies.cranelift-frontend] version = "0.114.0" [features] default = [] selinux-fix = ["memmap2"] [target."cfg(windows)".dependencies.windows-sys] version = "0.59.0" features = [ "Win32_Foundation", "Win32_System_LibraryLoader", "Win32_System_Memory", ] [lints.clippy] clone_on_copy = "warn" manual_strip = "warn" map_clone = "warn" uninlined_format_args = "warn" unnecessary_cast = "warn" unnecessary_fallible_conversions = "warn" unnecessary_mut_passed = "warn" unnecessary_to_owned = "warn" [lints.clippy.all] level = "allow" priority = -1 [lints.rust] trivial_numeric_casts = "warn" unstable_features = "warn" unused-lifetimes = "warn" unused-macro-rules = "warn" unused_extern_crates = "warn" unused_import_braces = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(pulley_tail_calls)"]