On Monday, 26 September 2022 at 20:57:06 UTC, Christian Köstlin wrote:
Or posix only? Or not windows?

Kind regards,
Christian

Not necessarily a dub solution but you can do something like this:
```d
version(Posix) { }
else
    static assert(0, "Unsupported platform.");
```
This will result in a compiler error while targetting a non-posix platform.

Reply via email to