is there a simple way to check if the OS is 64 Bit or not. I dont`t want to know if the programm runs as 64 Bit. So I like to know regardless of the builded executeable (32 Bit / 64 Bit) if the OS itself could handle 64 Bit.
For .Net there seems to be a System Property called Environment.Is64BitOperating.
Is there something similar in Rust?