fix(pf-clipboard): declare the libc dep the Linux backends call fully-qualified
ci / web (pull_request) Successful in 54s
ci / docs-site (pull_request) Successful in 1m15s
apple / swift (pull_request) Successful in 1m15s
apple / screenshots (pull_request) Has been skipped
ci / bench (pull_request) Successful in 6m0s
android / android (pull_request) Successful in 12m29s
windows / build (aarch64-pc-windows-msvc) (pull_request) Successful in 5m24s
windows / build (x86_64-pc-windows-msvc) (pull_request) Successful in 6m3s
ci / rust (pull_request) Successful in 21m5s

wayland.rs (pipe2/poll on the paste pipes) and mutter.rs (fcntl un-nonblocking
on the transfer fd) reference libc:: inline — caught by the Linux leg.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-17 13:07:13 +02:00
parent 391f8fb9f7
commit da0578771e
2 changed files with 4 additions and 0 deletions
Generated
+1
View File
@@ -2785,6 +2785,7 @@ dependencies = [
"anyhow", "anyhow",
"ashpd", "ashpd",
"futures-util", "futures-util",
"libc",
"punktfunk-core", "punktfunk-core",
"quinn", "quinn",
"tokio", "tokio",
+3
View File
@@ -27,6 +27,9 @@ tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync", "time", "m
# answer. Reusing ashpd's zbus re-export keeps one zbus version across the workspace. # answer. Reusing ashpd's zbus re-export keeps one zbus version across the workspace.
ashpd = "0.13" ashpd = "0.13"
futures-util = "0.3" futures-util = "0.3"
# Raw fd plumbing on the paste pipes: `pipe2(O_CLOEXEC)` + `poll` on the data-control receive
# side, `fcntl` un-nonblocking on Mutter's transfer fd.
libc = "0.2"
wayland-client = "0.31" wayland-client = "0.31"
# `staging`: `ext_data_control_v1` (the session-clipboard protocol) ships in the staging set. # `staging`: `ext_data_control_v1` (the session-clipboard protocol) ships in the staging set.
wayland-protocols = { version = "0.32", features = ["client", "staging"] } wayland-protocols = { version = "0.32", features = ["client", "staging"] }