Have you ever built a cross-compatible game or CLI tool or the simple Russian Roulette game, I have as the banner for this article?
Well if you are wondering how I can target each operating system, sit back as I explain the wonders of conditional compilation and how it is done in Rust.
If you have ever built cross-compatible software you would not need this explanation; but for the rest of us. Conditional compilation is simply compiling only parts of code needed based on some given conditions