simias / psx-sdk-rs

Rust SDK targeting the original Playstation
85 stars 8 forks source link

Rust compiler will soon not build this SDK. #2

Closed AraHaan closed 7 years ago

AraHaan commented 7 years ago

I am using Rust v1.1.1 and this is what shows in the compile of 2 things:

   Compiling elf2psexe v0.0.1 (file:///E:/Users/Elsword/Desktop/PSX/psx-sdk/elf2psexe)
warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
   --> src\elf.rs:178:39
    |
178 |     pub fn into_sections(self) -> Vec<Section> {
    |                                       ^^^^^^^
    |
    = warning: this was previously accepted by the compiler but is being phasedout; it will become a hard error in a future release!
    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>

warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
  --> src\psexe.rs:29:57
   |
29 |     pub fn dump(mut self, entry: u32, mut sections: Vec<Section>) {
   |                                                         ^^^^^^^
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
simias commented 7 years ago

Thanks for the heads up!

AraHaan commented 7 years ago

yw