diff --git a/src/windows_registry.rs b/src/windows_registry.rs index 4f07945..bbd7324 100644 --- a/src/windows_registry.rs +++ b/src/windows_registry.rs @@ -338,7 +338,7 @@ pub fn find_tool(target: &str, tool: &str) -> Option { } #[allow(bad_style)] - pub fn host_arch() -> u16 { + fn host_arch() -> u16 { type DWORD = u32; type WORD = u16; type LPVOID = *mut u8;