# 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"
name = "lower-ir-utils"
version = "0.1.0"
authors = ["Gonçalo Carvalho"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helpers for mapping Rust types to Cranelift JIT signatures, lowering call arguments, and reducing module boilerplate."
readme = "README.md"
keywords = [
    "cranelift",
    "jit",
    "codegen",
    "ir",
]
categories = [
    "development-tools",
    "compilers",
]
license = "MIT"
repository = "https://github.com/glslang/lower-ir-utils"

[package.metadata.docs.rs]
all-features = true

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

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

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

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

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

[dependencies.cranelift]
version = "0.131"

[dependencies.cranelift-codegen]
version = "0.131"

[dependencies.cranelift-frontend]
version = "0.131"

[dependencies.cranelift-jit]
version = "0.131"

[dependencies.cranelift-module]
version = "0.131"

[dependencies.lower-ir-utils-macros]
version = "0.1.0"

[dependencies.smallvec]
version = "1"

[dev-dependencies.cranelift-native]
version = "0.131"
