LPATHBench icon indicating copy to clipboard operation
LPATHBench copied to clipboard

Rust code doesn't compile against Rust 1.0

Open frol opened this issue 9 years ago • 1 comments

rustc rs.rs -C opt-level=3 -C no-stack-check
rs.rs:24:49: 24:50 error: unexpected token: `]`
rs.rs:24             unsafe { mem::transmute(self.routes[]) }

BTW, I had to change --opt-level=3 to -C opt-level=3 in makefile

frol avatar May 17 '15 08:05 frol

Even with that change it won't compile with the latest Rust. Rust's modules and api:s have been reorganized so much that the whole program must be rewritten.

bjourne avatar Jun 11 '16 02:06 bjourne