From what I've tried, using the global variables like this
var some_global_var: String = "Hey!"fn main(): print(some_global_var)
var some_global_var: String = "Hey!"fn main(): print(some_global_var)
works when you just run your code, but doesn't work in compiled executables. I've seen some folks mentioning this here on this server, but I can't seem to find any relevant docs on this, as well as I don't understand whether it's a bug, or am I supposed to work with global variables somehow differently. Any info on this would help, thanks!