Browse Source

Point Windows users to the Windows Notes section of readme.

add-rc-path
Vadim Chugunov 10 years ago
parent
commit
bd8b535432
  1. 8
      src/lib.rs

8
src/lib.rs

@ -252,8 +252,12 @@ fn run(cmd: &mut Command, program: &str) {
let status = match cmd.status() { let status = match cmd.status() {
Ok(status) => status, Ok(status) => status,
Err(ref e) if e.kind() == io::ErrorKind::NotFound => { Err(ref e) if e.kind() == io::ErrorKind::NotFound => {
fail(&format!("failed to execute command: {}\nis `{}` not installed?", fail(&format!("failed to execute command: {}\nIs `{}` not installed?{}",
e, program)); e, program,
if cfg!(windows) {
" (see http://github.com/alexcrichton/gcc-rs#windows-notes for help)"
} else {""}
));
} }
Err(e) => fail(&format!("failed to execute command: {}", e)), Err(e) => fail(&format!("failed to execute command: {}", e)),
}; };

Loading…
Cancel
Save