pub fn setup_path() -> Result<(), ConfigError>
Expand description

Prepends the path variable with the necessary paths to access WDK tools

§Errors

This function returns a ConfigError::WDKContentRootDetectionError if the WDK content root directory could not be found.

§Panics

This function will panic if the CPU architecture cannot be determined from std::env::consts::ARCH or if the PATH variable contains non-UTF8 characters.