cpu-local 0.4.1

Architecture CPU-local register capability for TGOSKits
Documentation
# 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 = "cpu-local"
version = "0.4.1"
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.1"

[dependencies.thiserror]
version = "2"
default-features = false