cloudhead / rx

👾 Modern and minimalist pixel editor
https://discord.gg/xHggPjfsS9
GNU General Public License v3.0
3.1k stars 109 forks source link

macOS Mojave compile failure #31

Closed zumpchke closed 4 years ago

zumpchke commented 4 years ago
error[E0658]: use of unstable library feature 'refcell_map_split' (see issue #51476)
    --> /Users/vanush/.cargo/registry/src/github.com-1ecc6299db9ec823/zerocopy-0.2.8/src/lib.rs:1056:9
     |
1056 |         Ref::map_split(self, |slice| <[u8]>::split_at(slice, mid))
     |         ^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'refcell_map_split' (see issue #51476)
    --> /Users/vanush/.cargo/registry/src/github.com-1ecc6299db9ec823/zerocopy-0.2.8/src/lib.rs:1064:9
     |
1064 |         RefMut::map_split(self, |slice| <[u8]>::split_at_mut(slice, mid))
     |         ^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `zerocopy`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `rx v0.2.0 (https://github.com/cloudhead/rx?tag=v0.2.0#a296ebf4)`, intermediate artifacts can be found at `/var/folders/tk/l2138q8x2yb6qxf0b3fvgbzm0000gn/T/cargo-installp0AR53`
cloudhead commented 4 years ago

This sounds like maybe your rust version is old?

zumpchke commented 4 years ago

Yep, rustup fixed it.

On Thu, Oct 3, 2019, 10:51 PM Alexis Sellier notifications@github.com wrote:

This sounds like maybe your rust version is old?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudhead/rx/issues/31?email_source=notifications&email_token=ABZLXHJ5IXCYDILYTNWEFATQMXTEJA5CNFSM4I455CDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIC46Q#issuecomment-537931386, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZLXHOOGXRNVOIJ7GCHAM3QMXTEJANCNFSM4I455CDA .