d7273ce5cf
Add comprehensive policy documentation in AGENTS.md covering: - local/ fork always takes precedence over recipes/ paths - build system must ensure local fork is at latest available version - all Red Bear patches must be applied cleanly on top of latest version - automatic version bump + patch reapplication via bump-fork.sh Create local/scripts/bump-fork.sh that implements automatic version bumping: - Detects current local version vs required version from Cargo.lock - Fetches upstream source at required version - Applies all Red Bear patches atomically - Updates version field and replaces local fork contents Fix driver-manager Cargo.toml lockfile collision: - Remove redundant syscall dependency (transitive via pcid_interface) - Update all driver recipes to use local/sources/syscall and libredox paths - This eliminates the redox_syscall lockfile collision between local/sources/syscall and recipes/core/base/syscall (same dir, different paths) relibc: fix unsafe call for Rust 2024 edition compatibility
22 lines
626 B
TOML
22 lines
626 B
TOML
[package]
|
|
name = "linux-kpi"
|
|
version = "0.2.5"
|
|
edition = "2021"
|
|
description = "Linux Kernel API compatibility layer for Redox OS (LinuxKPI-style)"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
libredox = { path = "../../../../../local/sources/libredox" }
|
|
redox_syscall = { path = "../../../../../local/sources/syscall", features = ["std"] }
|
|
log = "0.4"
|
|
thiserror = "2"
|
|
lazy_static = "1.4"
|
|
redox-driver-sys = { path = "../../redox-driver-sys/source" }
|
|
|
|
[lib]
|
|
crate-type = ["rlib", "staticlib"]
|
|
|
|
[patch.crates-io]
|
|
redox_syscall = { path = "../../../../../local/sources/syscall" }
|
|
libredox = { path = "../../../../../local/sources/libredox" }
|