indigits / scirust

Scientific Computing Library in Rust
Apache License 2.0
265 stars 29 forks source link

Fix compilation on the latest nightly. #27

Closed Sean1708 closed 9 years ago

Sean1708 commented 9 years ago

For reference:

$ rustc --version
rustc 1.5.0-nightly (cff041170 2015-09-17)

Fixes compilation errors caused by the removal of std::rt::heap.

Due to RFC 1214 this then spits out many warnings. Initially these were simple to fix (you just need to be more explicit with your trait bounds) but in order to fix all the warnings you need to implement Copy for Matrix which you obviously can't do since it implements Drop. For that reason I didn't fix any of the warnings, only the errors.

shailesh1729 commented 9 years ago

Thanks.