interpreter-in-browser doesn't build
erszcz opened this issue · 1 comments
erszcz commented
I'm trying to build the examples. spawn-chain
builds and works fine, but with interpreter-in-browser
I get multiple errors of this type:
Compiling libeir_diagnostics v0.1.0 (https://github.com/eirproject/eir.git?branch=lumen#2124ea35)
error[E0080]: erroneous constant used
--> /Users/erszcz/.cargo/git/checkouts/eir-9a91440c84f5797a/2124ea3/libeir_diagnostics/src/index.rs:15:73
|
15 | pub const UNKNOWN: Self = Self(unsafe { NonZeroUsize::new_unchecked(Self::UNKNOWN_SRC_ID) });
| ^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
error[E0080]: evaluation of constant expression failed
--> /Users/erszcz/.cargo/git/checkouts/eir-9a91440c84f5797a/2124ea3/libeir_diagnostics/src/index.rs:49:20
|
49 | if self == Self::UNKNOWN {
| ^^^^^^^^^^^^^ referenced constant has errors
...
error: aborting due to 8 previous errors
All but the first one are about Self::UNKNOWN
.
My env:
$ rustc --version
rustc 1.45.0-nightly (769d12eec 2020-05-12)
KronicDeth commented
The interpreter broke with the DynOp
changes to EIR.