From 73b49273165d67e0eabb57828e3c7b1cbe327cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chaloupka?= Date: Sat, 6 Nov 2021 19:13:38 +0100 Subject: [PATCH] Closes #7 - don't assert on unsupported platforms --- source/during/package.d | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/during/package.d b/source/during/package.d index 176256a..f66c633 100644 --- a/source/during/package.d +++ b/source/during/package.d @@ -4,11 +4,7 @@ */ module during; -version(linux) {} -else { - pragma(msg, "!!!!!!! during/io_uring is available ONLY on Linux systems (5.1+). This package is useless on your system. !!!!!!!!!"); - static assert(0, "during is not available on your system"); -} +version(linux): public import during.io_uring; import during.openat2;