# 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"
name = "llvm-infra"
version = "0.3.0"
authors = ["winter <winter_lonely@foxmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LLVM Compiler Infrastructure in Rust"
readme = "README.md"
keywords = [
    "LLVM",
    "Bitcode",
    "Pass",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/LonlyWinter/llvm-infra"

[lib]
name = "llvm_infra"
crate-type = ["lib"]
path = "src/lib.rs"

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

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

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

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

[dependencies]

[lints.clippy]
borrow_interior_mutable_const = "allow"
declare_interior_mutable_const = "allow"
mutable_key_type = "allow"
