This repository was archived by the owner on Jan 7, 2023. It is now read-only.

Description
In dub.json I have:
"dflags": [
"-mtriple=armv7a-unknown-unknown",
"-mcpu=cortex-a9",
"-g",
"-float-abi=hard",
"-O0",
"--boundscheck=off",
"-fthread-model=local-exec"
],
"versions": [
"LWDR_DynamicArray",
"LWDR_ModuleCtors"
],
My D code:
class Test
{
static int[] testStaticConstructor;
immutable(char*) getStringFromD()
{
return "Hello World from D! Simple Test".ptr;
}
}
static this()
{
for(int i = 0; i < 5; i++)
Test.testStaticConstructor~= i;
}