ddkang / zkml

Apache License 2.0
348 stars 38 forks source link

Error while running "cargo build --release" #26

Closed jeff0723 closed 1 year ago

jeff0723 commented 1 year ago

I have a apple M1 macbook, and when I tried to use `cargo build --release" command, I encountered this error

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> src/lib.rs:1:12
  |
1 | #![feature(int_roundings)]
  |            ^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `zkml` due to previous error

How should I solve it?

ddkang commented 1 year ago

Did you set the nightly build? rustup override set nightly