From bf6984e86a6efd53fd61cda6df8f18154bc8da4a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 21 Apr 2026 06:07:48 +0300 Subject: [PATCH] os: fix notify polling on default backend (fixes #26225) --- vlib/os/notify/backend_default.c.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/os/notify/backend_default.c.v b/vlib/os/notify/backend_default.c.v index af5a46c1e..24b26b614 100644 --- a/vlib/os/notify/backend_default.c.v +++ b/vlib/os/notify/backend_default.c.v @@ -1,6 +1,6 @@ module notify -// Implement the API +// new returns an error when the current platform has no notifier backend. pub fn new() !FdNotifier { - panic('unsupported') + return error('os.notify is not supported on this platform') } -- 2.39.5