title: "a bin target must be available for 'cargo run'"
body: <p>While building a new Rust "Project from other sources", in Intellij IDEA 2017, I was unable to run the project through its UI.</p>
  
  <blockquote>
    <p>C:/Users/sjsui/.cargo/bin/cargo.exe run error: a bin target must be
    available for <code>cargo run</code></p>
    
    <p>Process finished with exit code 101</p>
  </blockquote>
  
  <p>I noticed that no --bin target was provided by my build configuration so I placed the path to the projects target folder; same result.</p>
  
  <p><a href="https://i.stack.imgur.com/7oJDR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7oJDR.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>C:/Users/sjsui/.cargo/bin/cargo.exe run --bin C:\Users\sjsui\exercism\rust\hello-world\target\debug
    error: no bin target named <code>C:\Users\sjsui\exercism\rust\hello-world\target\debug</code></p>
  </blockquote>
  
  <p>I tried creating a fresh Rust project through the Cargo command line interface, and received this error when running it:</p>
  
  <blockquote>
    <p>error: could not exec the linker <code>link.exe</code>: The system cannot find the file specified. (os error 2)
    note: the msvc targets depend on the msvc linker but <code>link.exe</code> was
    not found</p>
    
    <p>note: please ensure that VS 2013 or VS 2015 was installed with the
    Visual C++ option</p>
  </blockquote>
  
  <p>Evidently I must install Visual C++ build tools 2017 and am in the process of doing so. Are these errors related, or different issues?</p>