In reply to @tauruuuuuus "But I do have": I did quick test to enable `--exceptions:cpp` option and here is what I did: https://github.com/demotomohiro/MinimumNimPico/commit/562c830cea566d15af47243fc2 4869c92509bd8e https://github.com/demotomohiro/MinimumNimPico/commit/4f673999f62326fbf8965ce61f 04d63fef078540 My code doesn't raise exception and it just to see how much runtime will be added. Raising exception might call `malloc` but you can implement it with dummy `malloc` that just return a pointer to statically allocated memory.