Skip to content

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