So far the only way, which is very hacky I've got the command prompt to disappear is to use the code on stackoverflow (which i can't seem to link to, as i'm a new user).
I'm wondering if anyone can explain how to link with -mwindows to make the application Graphical only
You can do it by adding -C link-args=-mwindows to your compile arguments.
If you're using Cargo... well, you're kinda out of luck. You can use cargo rustc and pass the flag every time you compile, but beyond that, I can't find any way to add arbitrary flags to the build commands. This is because Cargo knows better than you and there's obviously no reason for you to ever want to set a linker flag manually.
Yeah this is the problem, I need to do it via Cargo, I tried to see if i can do that via cargo rustc subcommand, but alas it doesn't like it, thanks for the help anyway