Skip to content

Commit

Permalink
Closes #7 - don't assert on unsupported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaloupka committed Nov 6, 2021
1 parent 29d47b6 commit 73b4927
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions source/during/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73b4927

Please sign in to comment.