From 51a8985071f6706d8c43d1a9687bbdcccba19409 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 19 Mar 2016 01:02:13 -0700 Subject: [PATCH] Fix a typo --- src/windows_registry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows_registry.rs b/src/windows_registry.rs index 1d65dd9..350fb76 100644 --- a/src/windows_registry.rs +++ b/src/windows_registry.rs @@ -372,7 +372,7 @@ pub fn find_tool(target: &str, tool: &str) -> Option { let mut path = PathBuf::from(path); path.push("MSBuild.exe"); let mut tool = Tool::new(path); - if path.contains("x86_64") { + if target.contains("x86_64") { tool.env.push(("Platform".into(), "X64".into())); } tool