From 8dd21d713cf53070f9de1f8292dd70488a7532f8 Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Wed, 1 Jul 2026 04:46:33 +0300 Subject: [PATCH] base: [patch.crates-io] redox_syscall = path local/sources/syscall (Phase I) Phase I s2idle / Modern Standby support. The local fork at local/sources/syscall is the upstream gitlab.redox-os.org/ redox-os/syscall @ 79cb6d9 with Red Bear OS P1 commit (EnterS2Idle, ExitS2Idle AcPiVerb variants) on top. Periodic rebase via 'git fetch upstream && git rebase upstream/master' is the workflow when upstream changes. The version field stays at upstream 0.8.1. Hardware-agnostic: works for any platform with Modern Standby firmware (Dell, HP, Lenovo, LG Gram, etc.). --- Cargo.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5180d2a75f..9d7ce46eca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -131,7 +131,20 @@ missing_safety_doc = "warn" #TODO: set to deny when all safety documentation is precedence = "deny" [patch.crates-io] -redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall.git" } +# Red Bear OS Phase I: s2idle / Modern Standby support. +# The [patch.crates-io] replaces the upstream gitlab.redox-os.org +# redox_syscall (which lacks the new AcpiVerb::EnterS2Idle / +# ExitS2Idle variants) with the local fork at +# local/sources/syscall/ (a sibling directory of base/, both +# under local/sources/). The local fork is the upstream +# gitlab.redox-os.org/redox-os/syscall @ 79cb6d9 with our +# Red Bear OS P1 commit (cfa7f0c) on top. The version field +# stays at upstream 0.8.1 — periodic rebase via +# 'git fetch upstream && git rebase upstream/master' is the +# workflow when upstream changes. Hardware-agnostic — works +# for any platform with Modern Standby firmware (Dell, HP, +# Lenovo, LG Gram, etc.). +redox_syscall = { path = "../syscall" } [patch."https://gitlab.redox-os.org/redox-os/relibc.git"] #redox-ioctl = { path = "../../relibc/source/redox-ioctl" }