Add @nogc UDA, fix some small issues, xmake changes

-add @nogc to some functions where it was missing
-fix compilation issue in mallocator
-fix Meson build
-some work on xmake build
This commit is contained in:
Mergul 2023-03-23 22:31:20 +01:00
parent 5e123d96b3
commit 3a3a9e0341
6 changed files with 39 additions and 26 deletions

View file

@ -279,7 +279,7 @@ static struct Mallocator
static if (__traits(isPOD, T))
{
__gshared immutable T init = T.init;
__gshared T init = T.init;
memcpy(ret, &init, T.sizeof);
}
else static if (is(T == struct))