You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to run tests in the plonky2_evm package and receive a compilation error:
$ RUSTFLAGS="-C target-cpu=native" cargo +nightly test --release --package plonky2_evm
Compiling plonky2_evm v0.1.1 (/home/jimpo/Code/github.com/mir-protocol/plonky2/evm)
error[E0493]: destructor of `[std::ops::RangeInclusive<u8>; N]` cannot be evaluated at compile-time
--> evm/src/cpu/kernel/constants/exc_bitfields.rs:7:53
|
7 | const fn u256_from_set_index_ranges<const N: usize>(ranges: [RangeInclusive<u8>; N]) -> U256 {
| ^^^^^^ the destructor forthis type cannot be evaluatedin constant functions
...
29 | }
| - value is dropped here
For more information about this error, try `rustc --explain E0493`.
error: could not compile `plonky2_evm` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `plonky2_evm` (lib test) due to previous error
I am attempting to run tests in the
plonky2_evm
package and receive a compilation error:My rustc version is:
The text was updated successfully, but these errors were encountered: