[package]
edition = "2024"
rust-version = "1.94"
name = "jit-lang"
version = "1.0.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lower IR to machine code in executable memory and run it now."
homepage = "https://github.com/jamesgober/jit-lang"
documentation = "https://docs.rs/jit-lang"
readme = "README.md"
keywords = [
"jit",
"compiler",
"cranelift",
"codegen",
"language",
]
categories = [
"development-tools",
"compilers",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/jit-lang"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "jit_lang"
path = "src/lib.rs"
[[example]]
name = "control_flow"
path = "examples/control_flow.rs"
[[example]]
name = "floats"
path = "examples/floats.rs"
[[example]]
name = "jit_and_call"
path = "examples/jit_and_call.rs"
[[test]]
name = "invalid"
path = "tests/invalid.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "workflow"
path = "tests/workflow.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.cranelift-codegen]
version = "0.133"
[dependencies.cranelift-frontend]
version = "0.133"
[dependencies.cranelift-native]
version = "0.133"
[dependencies.ir-lang]
version = "1"
[dependencies.pager-lang]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"