Skip libwayland debug print path on Redox

Avoid a non-essential debug-only formatting dependency in the WIP Redox libwayland build so the verified relibc compatibility slice is not blocked by wl_closure_print diagnostics.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-18 21:36:33 +01:00
parent 5aafb6475b
commit 967d0f8972
@@ -71,3 +71,20 @@ diff --git a/src/connection.c b/src/connection.c
#include "wayland-util.h"
#include "wayland-private.h"
#include "wayland-os.h"
@@ -1503,6 +1510,15 @@
wl_closure_print(struct wl_closure *closure, struct wl_object *target,
int send, int discarded, uint32_t (*n_parse)(union wl_argument *arg),
const char *queue_name)
{
+#ifdef __redox__
+ (void)closure;
+ (void)target;
+ (void)send;
+ (void)discarded;
+ (void)n_parse;
+ (void)queue_name;
+ return;
+#endif
int i;
struct argument_details arg;
const char *signature = closure->message->signature;