A 'lazy' compilation mode to make writting multiplatform code easier without having to clutter the project

ryuukk_ ryuukk.dev at gmail.com
Thu Feb 23 01:25:43 UTC 2023


On Wednesday, 22 February 2023 at 15:43:37 UTC, ryuukk_ wrote:
> Adam in the IRC chat mentioned using ``dmd -i``, i'll 
> experiment with it and report back, after reading the doc it 
> looks like that's what i need?
>
> https://dlang.org/dmd-windows.html#switch-I

Looks like i misunderstood his advice, or i don't understand at 
all

Anyways, i went with:

```D
module rt.event;

version(WASM) {} else :


```

It's gonna do the job for now :p


More information about the Digitalmars-d mailing list