backend-lang 0.2.0

Machine-code backend core: machine IR, target descriptions, ABI and frame layout, parallel moves, and emission through isa-lang.
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "backend-lang"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Machine-code backend core: machine IR, target descriptions, ABI and frame layout, parallel moves, and emission through isa-lang."
homepage = "https://github.com/jamesgober/backend-lang"
documentation = "https://docs.rs/backend-lang"
readme = "README.md"
keywords = [
    "backend",
    "codegen",
    "register-allocation",
    "compiler",
    "lexersketch",
]
categories = [
    "compilers",
    "development-tools",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/backend-lang"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
std = ["isa-lang/std"]

[lib]
name = "backend_lang"
path = "src/lib.rs"

[[example]]
name = "emit"
path = "examples/emit.rs"

[[example]]
name = "moves"
path = "examples/moves.rs"

[[test]]
name = "emit"
path = "tests/emit.rs"

[[test]]
name = "executable"
path = "tests/executable.rs"

[[test]]
name = "mir"
path = "tests/mir.rs"

[[test]]
name = "moves"
path = "tests/moves.rs"

[[test]]
name = "table"
path = "tests/table.rs"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.isa-lang]
version = "0.2"
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.object-lang]
version = "0.2"

[dev-dependencies.proptest]
version = "1"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"