[package]
edition = "2024"
name = "cpu-local"
version = "0.4.2"
authors = ["RCore Team <yuchen@tsinghua.edu.cn>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Architecture CPU-local register capability for TGOSKits"
readme = "README.md"
keywords = [
"arceos",
"kernel",
]
categories = [
"os",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-none",
"aarch64-unknown-none-softfloat",
"riscv64gc-unknown-none-elf",
"loongarch64-unknown-none-softfloat",
]
[features]
host-test = []
tls = ["ax-cpu/tls"]
uspace = ["ax-cpu/uspace"]
[lib]
name = "cpu_local"
path = "src/lib.rs"
[[test]]
name = "final_image_tls_feature_tree_contract"
path = "tests/final_image_tls_feature_tree_contract.rs"
[[test]]
name = "loongarch_anchor_contract"
path = "tests/loongarch_anchor_contract.rs"
[[test]]
name = "register_ownership_contract"
path = "tests/register_ownership_contract.rs"
[dependencies.ax-cpu]
version = "0.10.2"
[dependencies.thiserror]
version = "2"
default-features = false