SIGSEGV: Illegal storage access. (Attempt to read from nil?)
<!--
**Note: For support questions and feature requests, please use discussions**.
This repository's issues are reserved for bug reports.
-->

* **What is the current behaviour?**
crashes when try to run test.exe, error : "SIGSEGV: Illegal storage access. (Attempt to read from nil?)"

* **Please provide the steps to reproduce and if possible a minimal demo of the problem**
I compiled test.nim with "nim cpp -f -d:release test.nim"

* **What is the expected behaviour?**
to work lol

* **Please tell us about your environment**

  - Version: latest 
  - OS: Windows
  - Bindings: Vulkan 
  - Backend:  CPP 
  - Nim Version: 2.0.0
  - Compiler used: GCC

* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, docs.gl, documentation etc)

please fix this, its crashing every time i try to call: "vkCreateInstance"

