Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust code doesn't compile against Rust 1.0 #67

Open
frol opened this issue May 17, 2015 · 1 comment
Open

Rust code doesn't compile against Rust 1.0 #67

frol opened this issue May 17, 2015 · 1 comment

Comments

@frol
Copy link
Contributor

frol commented May 17, 2015

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

@bjourne
Copy link

bjourne commented Jun 11, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants