firmware-loader: use path dependencies for redox forks
Replace version-string deps on redox_syscall, redox-scheme, and libredox with path dependencies pointing to local/sources/ forks. This aligns with local/AGENTS.md local-fork-dependency rule and eliminates the crates.io vs local fork ambiguity that causes mismatched-type link errors.
This commit is contained in:
@@ -5,8 +5,13 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
libc = "0.2"
|
||||
syscall = { package = "redox_syscall", version = "0.7", features = ["std"] }
|
||||
redox_scheme = { package = "redox-scheme", version = "0.11" }
|
||||
libredox = "0.1"
|
||||
syscall = { path = "../../../../../local/sources/syscall", package = "redox_syscall", features = ["std"] }
|
||||
redox_scheme = { path = "../../../../../local/sources/redox-scheme", package = "redox-scheme" }
|
||||
libredox = { path = "../../../../../local/sources/libredox" }
|
||||
log = { version = "0.4", features = ["std"] }
|
||||
thiserror = "2"
|
||||
|
||||
[patch.crates-io]
|
||||
libredox = { path = "../../../../../local/sources/libredox" }
|
||||
redox-scheme = { path = "../../../../../local/sources/redox-scheme" }
|
||||
redox_syscall = { path = "../../../../../local/sources/syscall" }
|
||||
|
||||
Reference in New Issue
Block a user