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

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Feb 22 14:56:54 UTC 2023


Why wouldn't this work?

```d
else version(WASM) {
	void poll() {
		pragma(inline, true);
		// or assert(0);
		// or noreturn ext.
	}
} else static assert(0);
```


More information about the Digitalmars-d mailing list