Skip to main content

require_windows

Function require_windows 

Source
pub fn require_windows(operation: &'static str) -> Result<(), WslError>
Expand description

Whether this build can manage a WSL distribution at all.

ยงErrors

WslError::UnsupportedPlatform on every build that is not for Windows.