Simply adding bflat build --stdlib:zero makes the build run without a GC, but since objects can still be freely declared and never collected, memory leaks occur. To ensure that code requiring a GC (for example, new class) causes a build failure, how can this be enforced?
Simply adding
bflat build --stdlib:zeromakes the build run without a GC, but since objects can still be freely declared and never collected, memory leaks occur. To ensure that code requiring a GC (for example, new class) causes a build failure, how can this be enforced?