pub fn is_wsl() -> bool
2 3 4 5 6 7 8
fn main() { if is_wsl::is_wsl() { println!("Currently in WSL") } else { println!("Currently NOT in WSL") } }