brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

src/video.rs:5:4: 5:22 error: unresolved import: there is no `RngUtil` in `std::rand` #98

Open radarsat1 opened 11 years ago

radarsat1 commented 11 years ago

On Rust master branch, get the following error after a fresh clone:

$ ./configure

$ make
rustc --cfg image --cfg mixer src/sdl.rc -o libsdl.dummy
src/video.rs:5:4: 5:22 error: unresolved import: there is no `RngUtil` in `std::rand`
src/video.rs:5 use std::rand::RngUtil;
                   ^~~~~~~~~~~~~~~~~~
src/video.rs:5:4: 5:22 error: failed to resolve import `std::rand::RngUtil`
src/video.rs:5 use std::rand::RngUtil;
                   ^~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
make: *** [libsdl.dummy] Error 101
hammackj commented 10 years ago

This seems fixed in the latest master pull. They removed Util for the module name.