[package]
edition = "2024"
rust-version = "1.89"
name = "qld"
version = "0.1.1"
authors = ["Karpelès Lab Inc."]
build = false
exclude = [
"/.github",
"/benches",
"/packaging",
"/tests/projects",
"/tests/scratch",
"/deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, parallel linker compatible with GNU ld, gold, lld and mold"
readme = "README.md"
keywords = [
"linker",
"elf",
"macho",
"pe",
"lto",
]
categories = [
"development-tools::build-utils",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/qld"
[features]
default = ["plugin"]
plugin = []
[lib]
name = "qld"
path = "src/lib.rs"
[[bin]]
name = "qld"
path = "src/main.rs"
[[example]]
name = "cancel"
path = "examples/cancel.rs"
[[example]]
name = "custom_sink"
path = "examples/custom_sink.rs"
[[example]]
name = "in_memory"
path = "examples/in_memory.rs"
[[example]]
name = "link_argv"
path = "examples/link_argv.rs"
[[example]]
name = "link_map"
path = "examples/link_map.rs"
[[example]]
name = "rayon_pool"
path = "examples/rayon_pool.rs"
[[test]]
name = "aarch64"
path = "tests/aarch64.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "args"
path = "tests/args.rs"
[[test]]
name = "args_differences"
path = "tests/args_differences.rs"
[[test]]
name = "arm32"
path = "tests/arm32.rs"
[[test]]
name = "coff_link"
path = "tests/coff_link.rs"
[[test]]
name = "coff_link_arm64"
path = "tests/coff_link_arm64.rs"
[[test]]
name = "coff_read"
path = "tests/coff_read.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "corrupt"
path = "tests/corrupt.rs"
[[test]]
name = "debug"
path = "tests/debug.rs"
[[test]]
name = "debug_index"
path = "tests/debug_index.rs"
[[test]]
name = "demangle"
path = "tests/demangle.rs"
[[test]]
name = "diag"
path = "tests/diag.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "elf_link"
path = "tests/elf_link.rs"
[[test]]
name = "elf_read"
path = "tests/elf_read.rs"
[[test]]
name = "elf_target"
path = "tests/elf_target.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "fork"
path = "tests/fork.rs"
[[test]]
name = "hints"
path = "tests/hints.rs"
[[test]]
name = "hunk"
path = "tests/hunk.rs"
[[test]]
name = "i386"
path = "tests/i386.rs"
[[test]]
name = "input"
path = "tests/input.rs"
[[test]]
name = "loongarch"
path = "tests/loongarch.rs"
[[test]]
name = "lto"
path = "tests/lto.rs"
[[test]]
name = "m68k"
path = "tests/m68k.rs"
[[test]]
name = "macho_link"
path = "tests/macho_link.rs"
[[test]]
name = "macho_lto"
path = "tests/macho_lto.rs"
[[test]]
name = "macho_read"
path = "tests/macho_read.rs"
[[test]]
name = "multilib"
path = "tests/multilib.rs"
[[test]]
name = "ordering"
path = "tests/ordering.rs"
[[test]]
name = "output"
path = "tests/output.rs"
[[test]]
name = "passes"
path = "tests/passes.rs"
[[test]]
name = "plugin"
path = "tests/plugin.rs"
[[test]]
name = "ppc64"
path = "tests/ppc64.rs"
[[test]]
name = "ppc64be"
path = "tests/ppc64be.rs"
[[test]]
name = "relocatable"
path = "tests/relocatable.rs"
[[test]]
name = "riscv32"
path = "tests/riscv32.rs"
[[test]]
name = "riscv64"
path = "tests/riscv64.rs"
[[test]]
name = "s390x"
path = "tests/s390x.rs"
[[test]]
name = "script"
path = "tests/script.rs"
[[test]]
name = "script_link"
path = "tests/script_link.rs"
[[test]]
name = "symbols"
path = "tests/symbols.rs"
[[test]]
name = "x32"
path = "tests/x32.rs"
[dependencies.foldhash]
version = "0.2"
[dependencies.hashbrown]
version = "0.16"
[dependencies.memmap2]
version = "0.9"
[dependencies.rayon]
version = "1.11"
[dev-dependencies]
[lints.clippy]
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"
[profile.profiling]
debug = 2
inherits = "release"
strip = false
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 1
panic = "abort"