[dependencies.linkme-impl]
version = "=0.3.31"
[dev-dependencies.once_cell]
version = "1.16"
[dev-dependencies.rustversion]
version = "1.0"
[dev-dependencies.trybuild]
features = ["diff"]
version = "1.0.97"
[features]
used_linker = ["linkme-impl/used_linker"]
[lib]
doc-scrape-examples = false
name = "linkme"
path = "src/lib.rs"
[package]
authors = ["David Tolnay <dtolnay@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::build-utils", "development-tools::procedural-macro-helpers", "no-std", "no-std::no-alloc"]
description = "Safe cross-platform linker shenanigans"
documentation = "https://docs.rs/linkme"
edition = "2021"
keywords = ["linkage"]
license = "MIT OR Apache-2.0"
name = "linkme"
readme = "README.md"
repository = "https://github.com/dtolnay/linkme"
rust-version = "1.62"
version = "0.3.31"
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]
[[test]]
name = "compiletest"
path = "tests/compiletest.rs"
[[test]]
name = "custom_linkme_path"
path = "tests/custom_linkme_path.rs"
[[test]]
name = "distributed_slice"
path = "tests/distributed_slice.rs"
[[test]]
name = "example"
path = "tests/example.rs"
[[test]]
name = "fn_element"
path = "tests/fn_element.rs"
[[test]]
edition = "2015"
name = "module_2015"
path = "tests/module_2015.rs"
[[test]]
name = "module_2021"
path = "tests/module_2021.rs"
[[test]]
name = "win_status_access_violation"
path = "tests/win_status_access_violation.rs"
[[test]]
name = "win_status_illegal_instruction"
path = "tests/win_status_illegal_instruction.rs"