Skip to content

make rust-zmq build with nightly #46

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

Closed

Conversation

flo-dhalluin
Copy link

try to compile with today's nightly rust package and was failing with (oct 13th )

rc/zmq/lib.rs:30:13: 30:33 error: expected constant expr for vector length: non-constant path in constant expr src/zmq/lib.rs:30 type Msg_ = [c_char, ..MsgSize_];
^~~~~~~~~~~~~~~~~~~~

Not sure why, I am a noob in rust, but the guide for nightly recommands using consts instead of static when needing non mutable globals.

@flo-dhalluin
Copy link
Author

My bad, that's the same as #45

alexkamp added a commit to alexkamp/rust-zmq that referenced this pull request Oct 23, 2015
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

Successfully merging this pull request may close these issues.

1 participant