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

Error while running #1

Open
flokapi opened this issue Jul 12, 2023 · 0 comments
Open

Error while running #1

flokapi opened this issue Jul 12, 2023 · 0 comments

Comments

@flokapi
Copy link

flokapi commented Jul 12, 2023

Hello,

I tried to get it working on my side but got the following error:

I'm using debian 11 and cargo 1.46.0

$ cargo run --release
   Compiling hidapi v1.4.1
   Compiling alsa v0.5.0
   Compiling num-derive v0.3.3
   Compiling maschine-mikro-mk3-driver v0.1.0 (/media/ze/data/sync/make/maschine/maschine-mikro-mk3-driver)
error[E0658]: use of unstable library feature 'slice_fill'
  --> src/lights.rs:44:21
   |
44 |         self.status.fill(0);
   |                     ^^^^
   |
   = note: see issue #70758 <https://github.com/rust-lang/rust/issues/70758> for more information

error[E0658]: use of unstable library feature 'slice_fill'
  --> src/screen.rs:18:21
   |
18 |         self.buffer.fill(0xff);
   |                     ^^^^
   |
   = note: see issue #70758 <https://github.com/rust-lang/rust/issues/70758> for more information

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: could not compile `maschine-mikro-mk3-driver`.

To learn more, run the command again with --verbose.

Which according to the explanation might work only using a nightly release.

Can i hope to get this working with the stable rust version?

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

1 participant