Merge branch 'precedence' into 'main'

add clippy precedence lint

See merge request redox-os/base!132
This commit is contained in:
Jeremy Soller
2026-02-20 08:55:01 -07:00
56 changed files with 168 additions and 1 deletions
+3 -1
View File
@@ -67,7 +67,6 @@ members = [
"drivers/usb/usbhubd",
]
# Bootstrap needs it's own profile configuration
exclude = ["bootstrap"]
@@ -88,6 +87,9 @@ redox-scheme = "0.9.1"
redox_syscall = "0.7.1"
redox_termios = "0.1.3"
[workspace.lints.clippy]
precedence = "deny"
[patch.crates-io]
# Rustix doesn't support ioctls on Redox OS
drm = { git = "https://github.com/Smithay/drm-rs.git" }
+3
View File
@@ -12,3 +12,6 @@ libredox = { workspace = true, features = ["mkns"] }
redox-scheme.workspace = true
anyhow.workspace = true
ioslice = "0.6.0"
[lints]
workspace = true
+3
View File
@@ -4,3 +4,6 @@ version = "0.0.0"
edition = "2024"
[dependencies]
[lints]
workspace = true
+3
View File
@@ -8,3 +8,6 @@ libc.workspace = true
libredox.workspace = true
redox-scheme.workspace = true
redox_syscall.workspace = true
[lints]
workspace = true
+3
View File
@@ -26,3 +26,6 @@ common = { path = "../common" }
daemon = { path = "../../daemon" }
libredox.workspace = true
redox-scheme.workspace = true
[lints]
workspace = true
+3
View File
@@ -15,3 +15,6 @@ spin = "0.9"
daemon = { path = "../../../daemon" }
pcid = { path = "../../pcid" }
redox-scheme.workspace = true
[lints]
workspace = true
+3
View File
@@ -15,3 +15,6 @@ common = { path = "../../common" }
daemon = { path = "../../../daemon" }
pcid = { path = "../../pcid" }
redox-scheme.workspace = true
[lints]
workspace = true
+3
View File
@@ -13,3 +13,6 @@ redox_event.workspace = true
redox_syscall.workspace = true
spin = "0.9"
redox-scheme.workspace = true
[lints]
workspace = true
+3
View File
@@ -12,3 +12,6 @@ libredox.workspace = true
log.workspace = true
redox_syscall = { workspace = true, features = ["std"] }
redox-log.workspace = true
[lints]
workspace = true
+3
View File
@@ -10,3 +10,6 @@ description = "Async framework for queue-based HW interfaces"
log.workspace = true
redox_event.workspace = true
slab = "0.4.9"
[lints]
workspace = true
+3
View File
@@ -14,3 +14,6 @@ daemon = { path = "../../../daemon" }
inputd = { path = "../../inputd" }
pcid = { path = "../../pcid" }
libredox.workspace = true
[lints]
workspace = true
+3
View File
@@ -12,3 +12,6 @@ graphics-ipc = { path = "../graphics-ipc" }
[features]
default = []
[lints]
workspace = true
@@ -13,3 +13,6 @@ libredox.workspace = true
common = { path = "../../common" }
graphics-ipc = { path = "../graphics-ipc" }
inputd = { path = "../../inputd" }
[lints]
workspace = true
+3
View File
@@ -19,3 +19,6 @@ libredox.workspace = true
[features]
default = []
[lints]
workspace = true
+3
View File
@@ -21,3 +21,6 @@ libredox.workspace = true
[features]
default = []
[lints]
workspace = true
+3
View File
@@ -11,3 +11,6 @@ redox-ioctl.workspace = true
redox_syscall.workspace = true
common = { path = "../../common" }
[lints]
workspace = true
+3
View File
@@ -27,3 +27,6 @@ libredox.workspace = true
redox-scheme.workspace = true
redox_event.workspace = true
redox_syscall.workspace = true
[lints]
workspace = true
+3
View File
@@ -19,3 +19,6 @@ libredox.workspace = true
[features]
default = []
[lints]
workspace = true
+3
View File
@@ -26,3 +26,6 @@ redox_syscall.workspace = true
orbclient.workspace = true
spin = "0.9.8"
libredox.workspace = true
[lints]
workspace = true
+3
View File
@@ -12,3 +12,6 @@ libredox = { version = "0.1.12", default-features = false, features = ["std", "c
amlserde = { path = "../amlserde" }
common = { path = "../common" }
daemon = { path = "../../daemon" }
[lints]
workspace = true
+3
View File
@@ -15,3 +15,6 @@ libredox.workspace = true
common = { path = "../../common" }
daemon = { path = "../../../daemon" }
inputd = { path = "../../inputd" }
[lints]
workspace = true
+3
View File
@@ -18,3 +18,6 @@ xhcid = { path = "../../usb/xhcid" }
common = { path = "../../common" }
inputd = { path = "../../inputd" }
[lints]
workspace = true
+3
View File
@@ -14,3 +14,6 @@ libredox.workspace = true
common = { path = "../common" }
daemon = { path = "../../daemon" }
redox-scheme.workspace = true
[lints]
workspace = true
+3
View File
@@ -8,3 +8,6 @@ libredox.workspace = true
daemon = { path = "../../../daemon" }
redox-scheme.workspace = true
redox_syscall = { workspace = true, features = ["std"] }
[lints]
workspace = true
+3
View File
@@ -14,3 +14,6 @@ common = { path = "../../common" }
daemon = { path = "../../../daemon" }
driver-network = { path = "../driver-network" }
pcid = { path = "../../pcid" }
[lints]
workspace = true
+3
View File
@@ -13,3 +13,6 @@ common = { path = "../../common" }
daemon = { path = "../../../daemon" }
driver-network = { path = "../driver-network" }
pcid = { path = "../../pcid" }
[lints]
workspace = true
+3
View File
@@ -14,3 +14,6 @@ common = { path = "../../common" }
daemon = { path = "../../../daemon" }
driver-network = { path = "../driver-network" }
pcid = { path = "../../pcid" }
[lints]
workspace = true
+3
View File
@@ -14,3 +14,6 @@ common = { path = "../../common" }
daemon = { path = "../../../daemon" }
driver-network = { path = "../driver-network" }
pcid = { path = "../../pcid" }
[lints]
workspace = true
+3
View File
@@ -16,3 +16,6 @@ driver-network = { path = "../driver-network" }
redox_syscall.workspace = true
libredox.workspace = true
[lints]
workspace = true
+3
View File
@@ -17,3 +17,6 @@ config = { path = "../../config" }
common = { path = "../common" }
daemon = { path = "../../daemon" }
pcid = { path = "../pcid" }
[lints]
workspace = true
+3
View File
@@ -26,3 +26,6 @@ serde = { version = "1", features = ["derive"] }
common = { path = "../common" }
daemon = { path = "../../daemon" }
libredox.workspace = true
[lints]
workspace = true
+3
View File
@@ -12,3 +12,6 @@ redox_syscall.workspace = true
redox_termios.workspace = true
common = { path = "../common" }
qemu-exit = "3.0.2"
[lints]
workspace = true
+3
View File
@@ -10,3 +10,6 @@ license = "MIT"
anyhow.workspace = true
common = { path = "../common" }
[lints]
workspace = true
+3
View File
@@ -15,3 +15,6 @@ driver-block = { path = "../driver-block" }
pcid = { path = "../../pcid" }
libredox.workspace = true
redox_event.workspace = true
[lints]
workspace = true
@@ -14,3 +14,6 @@ driver-block = { path = "../driver-block" }
libredox.workspace = true
redox_syscall = { workspace = true, features = ["std"] }
redox_event.workspace = true
[lints]
workspace = true
+3
View File
@@ -16,3 +16,6 @@ futures = { version = "0.3.28", features = ["executor"] }
redox_syscall = { workspace = true, features = ["std"] }
redox-scheme.workspace = true
[lints]
workspace = true
+3
View File
@@ -12,3 +12,6 @@ pcid = { path = "../../pcid" }
daemon = { path = "../../../daemon" }
redox_syscall = { workspace = true, features = ["std"] }
redox_event.workspace = true
[lints]
workspace = true
+3
View File
@@ -14,3 +14,6 @@ daemon = { path = "../../../daemon" }
redox_syscall = { workspace = true, features = ["std"] }
redox_event.workspace = true
driver-block = { path = "../driver-block" }
[lints]
workspace = true
+3
View File
@@ -23,3 +23,6 @@ pcid = { path = "../../pcid" }
[features]
default = []
[lints]
workspace = true
+3
View File
@@ -17,3 +17,6 @@ redox_event.workspace = true
redox_syscall = { workspace = true, features = ["std"] }
thiserror = "1"
xhcid = { path = "../../usb/xhcid" }
[lints]
workspace = true
+3
View File
@@ -21,3 +21,6 @@ driver-block = { path = "../driver-block" }
pcid = { path = "../../pcid" }
virtio-core = { path = "../../virtio-core" }
libredox.workspace = true
[lints]
workspace = true
+3
View File
@@ -10,3 +10,6 @@ edition = "2018"
clap = "2.33"
xhcid = { path = "../xhcid" }
common = { path = "../../common" }
[lints]
workspace = true
+3
View File
@@ -12,3 +12,6 @@ redox_syscall.workspace = true
xhcid = { path = "../xhcid" }
common = { path = "../../common" }
[lints]
workspace = true
+3
View File
@@ -33,3 +33,6 @@ daemon = { path = "../../../daemon" }
pcid = { path = "../../pcid" }
libredox.workspace = true
regex = "1.10.6"
[lints]
workspace = true
+3
View File
@@ -12,3 +12,6 @@ redox_syscall.workspace = true
common = { path = "../common" }
daemon = { path = "../../daemon" }
pcid = { path = "../pcid" }
[lints]
workspace = true
+3
View File
@@ -18,3 +18,6 @@ redox_event.workspace = true
common = { path = "../common" }
pcid = { path = "../pcid" }
[lints]
workspace = true
+3
View File
@@ -9,3 +9,6 @@ libredox.workspace = true
config = { path = "../config" }
daemon = { path = "../daemon" }
[lints]
workspace = true
+3
View File
@@ -9,3 +9,6 @@ license = "MIT"
[dependencies]
plain = "0.2"
[lints]
workspace = true
+3
View File
@@ -26,3 +26,6 @@ plain = "0.2"
twox-hash = "1.6"
redox-initfs = {path = ".."}
[lints]
workspace = true
+3
View File
@@ -15,3 +15,6 @@ rand = { version = "0.8", features = ["small_rng"] }
[target.'cfg(target_os = "redox")'.dependencies]
redox-rt = { workspace = true, default-features = false }
[lints]
workspace = true
+3
View File
@@ -9,3 +9,6 @@ redox_syscall.workspace = true
daemon = { path = "../daemon" }
libredox.workspace = true
redox-scheme.workspace = true
[lints]
workspace = true
+3
View File
@@ -36,3 +36,6 @@ features = [
[target.'cfg(target_os = "redox")'.dependencies]
redox-rt = { workspace = true, default-features = false }
[lints]
workspace = true
+3
View File
@@ -10,3 +10,6 @@ redox-scheme.workspace = true
redox_event.workspace = true
redox_syscall.workspace = true
redox_termios.workspace = true
[lints]
workspace = true
+3
View File
@@ -15,3 +15,6 @@ redox-scheme.workspace = true
libredox = { workspace = true, features = ["call"] }
indexmap = "2.5.0"
slab = "0.4.9"
[lints]
workspace = true
+3
View File
@@ -14,3 +14,6 @@ redox-scheme.workspace = true
[target.'cfg(target_arch = "x86_64")'.dependencies]
raw-cpuid = "11.0.1"
[lints]
workspace = true
+3
View File
@@ -9,3 +9,6 @@ redox_syscall.workspace = true
redox-scheme.workspace = true
daemon = { path = "../daemon" }
libredox.workspace = true
[lints]
workspace = true