servo / rust-stb-image

Rust bindings to the awesome stb_image library
Other
68 stars 34 forks source link

Build fails "silently" on Windows 7 with Rust 1.0 #67

Open mkuitune opened 9 years ago

mkuitune commented 9 years ago

Steps to reproduce using command line:

  1. git clone https://github.com/servo/rust-stb-image.git
  2. cd rust-stb-image
  3. cargo build

Which shows the output

Updating registry `https://github.com/rust-lang/crates.io-index`

Compiling stb_image v0.1.0 (file:///C:/Users/xxx/Downloads/tmp/rust-stb-ima ge) Compiling libc v0.1.7 failed to run custom build command for stb_image v0.1.0 (file:///C:/Users/xxx /Downloads/tmp/rust-stb-image) Process didn't exit successfully: C:\Users\xxx\Downloads\tmp\rust-stb-image\t arget\debug\build\stb_image-61bec16120a6c64a\build-script-build (exit code: 101 ) --- stderr thread '

' panicked at 'called Result::unwrap() on an Err value: Error { repr: Os(2) }', C:/bot/slave/stable-dist-rustc-win-64/build/src/libcore\result .rs:729