I've got a question about how I can do something like C's
#ifdef False
// code
#endif
In my workflow I sometimes like to 'disable' code from compilation, as I may not need it soon (or possibly ever).
I am currently using `#[cfg(windows)]' because I never use the Windows platform.
So, it's kind of like #ifdef FALSE
in C.
I could comment the code out, but I prefer using #[cfg(xxx)]
because the code will get some syntax analysis, and it looks cleaner to me.
I there a cfg value I should be using that won't generate warnings, and would be clearer than my current method: `#[cfg(windows)]'
I would like to avoid adding a cfg item in the Cargo.toml
Please no comments about why this is a bad idea.